From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: scratch/igc 956097054f2 1/3: Fix scroll bars for GTK Date: Sun, 05 May 2024 10:47:42 +0200 Message-ID: <87seywprv5.fsf@gmail.com> References: <171489587140.23584.9676404455599459034@vcs2.savannah.gnu.org> <20240505075752.7F6BAC2BC91@vcs2.savannah.gnu.org> <87wmo864xw.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27047"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 05 10:48:13 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s3XXZ-0006sj-Ca for ged-emacs-devel@m.gmane-mx.org; Sun, 05 May 2024 10:48:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3XXD-0003Tn-8T; Sun, 05 May 2024 04:47:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3XXA-0003TU-0z for emacs-devel@gnu.org; Sun, 05 May 2024 04:47:48 -0400 Original-Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3XX8-0007ng-FS for emacs-devel@gnu.org; Sun, 05 May 2024 04:47:47 -0400 Original-Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a59ab4f60a6so165780866b.0 for ; Sun, 05 May 2024 01:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714898863; x=1715503663; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=i4ilgeh0Ua4Ay3p0eceIFxiYz6snpLJ/R394k/bKxNU=; b=OVk24xQM2VAxBSmfQIbxtjAgradOUYHc+2Elult+2xGIKkxEhV/NNodrmasEG92P6M kycnsa1u3qhGec3qSf2ZOMXwRjJPvsY9B2/8VbfhS1R2ALRiqUaci1M9s8hgPDmo71pp PxX3WLlyVphzoc1ZAybyz/c1sWUmfmkM+kMryZ150FEB6WG2TWskKr6DC2A18IJ9jAQ0 zjcfaIEQGnJ5SPHEFVLwPNaBbNimksQ5AGkD9HhgoAr3u2VSNiWOHjdOnkn1ymCs3iHf JSqbxkvdRa4k+p3oIrlVj3uq/pfXOfp4sCROxFaajtvFng6gtQ9Fs7MlTW64/autrRaE tklg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714898863; x=1715503663; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=i4ilgeh0Ua4Ay3p0eceIFxiYz6snpLJ/R394k/bKxNU=; b=aCv0UuymKczQ1eW7UGkr3HWc/O+O7dyrZ+eSGGjR9nEOaFaUmU/qlR1Q6HOijLZTT3 +XOKBEabpULdpx46Ubgayv6rGwJqsG6M5xyuuz2w06lDh/me5b5mpJLVIksyFWniBrYx udLb/VlgVwvEbz7Uexmqk0saupfFzaJmiLB5ZIK1zyHV1i+2mGIwXYqjgkuWjHVmQAwU MH+s7wNUR7i7xuMA9uhItNqEO/MOL7+1GbpNgepdnhsxFvsX8yCSz3PnZGYoMfYT1SIK uNm0wbGblgtm+/r3iFXcbhMZ4+48hPlT6pWPbgKLOHYfYCdzxrzi72/fXT9fI1p6unKB CXqw== X-Gm-Message-State: AOJu0YzAXKTk0PbIfMbVMDiZ8sWXYbQRt/qAR9pB9cnEF4TZEdyv1nP2 LFo8jdliuTukFd1ca+lRBd2K9DfogwEElEvZ6f1JmHvdKIoEM6uAOn57nw== X-Google-Smtp-Source: AGHT+IHsJdCDdkg9H+cPi9Svr6CtszgeqqO4i9bMwK1Bv0fP7CyYf/zOuzJuuW8OunjTJkOVAuwWeg== X-Received: by 2002:a17:906:2806:b0:a56:e555:3ea6 with SMTP id r6-20020a170906280600b00a56e5553ea6mr5531594ejc.55.1714898863436; Sun, 05 May 2024 01:47:43 -0700 (PDT) Original-Received: from caladan (dial-184253.pool.broadband44.net. [212.46.184.253]) by smtp.gmail.com with ESMTPSA id au2-20020a170907092200b00a58ca8e88c2sm3864157ejc.15.2024.05.05.01.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 01:47:43 -0700 (PDT) In-Reply-To: <87wmo864xw.fsf@yahoo.com> (Po Lu's message of "Sun, 05 May 2024 16:25:31 +0800") Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318802 Archived-At: On Sun, May 05 2024, Po Lu wrote: > Helmut, I understand that this is a scratch branch where standards are > significantly relaxed, but observing our coding conventions now will > relieve us of plenty of needless toil when the time comes to merge it. > Please avoid C++-style comments, I thought C99 is allowed. It would be easier if compiler switches were configured so that one hasn't to remember all those rules. > break the assignment operator rather > than its RHS, place asterisks against identifiers, not the types which > they modify, and maintain lines within the 80 column limit as best you > can. Is there a tool like clang-format, that I could put in the before-save-hook that get the formatting and line breaks right?