From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Include modern-cpp-font-lock into GNU Emacs Date: Wed, 22 Aug 2018 08:46:11 -0400 Message-ID: References: <53cad8eb-9bf1-e2d3-90cf-10a9874bf69b@lud.cc> <20180811145124.GA4992@ACM> <4e10dfa3-4793-f680-8a85-78a489884cad@lud.cc> <866005o2ko.fsf@gmail.com> <1534757322.75605.1479728696.2BF2BB66@webmail.messagingengine.com> <1534787656.2221947.1480287024.78B80C56@webmail.messagingengine.com> <87k1okddoz.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1534942737 31817 195.159.176.226 (22 Aug 2018 12:58:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2018 12:58:57 +0000 (UTC) Cc: =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , Andy Moreton , Emacs developers To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 22 14:58:53 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fsSiq-000894-B1 for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2018 14:58:52 +0200 Original-Received: from localhost ([::1]:58930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsSkw-0001qc-PX for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2018 09:01:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsSkG-0000Hb-Ic for emacs-devel@gnu.org; Wed, 22 Aug 2018 09:00:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsSWc-0007vK-7C for emacs-devel@gnu.org; Wed, 22 Aug 2018 08:46:15 -0400 Original-Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:36223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fsSWb-0007tB-LD for emacs-devel@gnu.org; Wed, 22 Aug 2018 08:46:13 -0400 Original-Received: by mail-oi0-x236.google.com with SMTP id r69-v6so2303895oie.3 for ; Wed, 22 Aug 2018 05:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=v/sQ428b87yY0ZyQjXD+3TxWXNxXjR8zo0egiVco0+M=; b=msdWnSUOyk6grIK6CITKYOLqAkq7hfRPxjW8GsjUD8mpmBy+AqZOdtecKysIuI+Yx/ +B8pYgeVzhests5VSyXFneUk7yKekDr2wNdtwPcaY5kOr3ST5EmHcXGY98nHIXptlWCA 2FrtSl6J7Ypf/f8ZJKlpMSjlaNiEjdqF+ebOzqIbpCIeKYIaAoFZfGNADyKqh2Xve6lz zSATbupglFQ19+70NsT12l79qjmzvmAXBJbdcVQfG/VPBWqvuXSpB/TzAs7QdJlt4PoR MRVTbTIG0tPwwPnAKcb2UjSPPMIMbZFyNcjoo9xus7UJlvWPAkzzAZr9CasWfZujtpme 29vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=v/sQ428b87yY0ZyQjXD+3TxWXNxXjR8zo0egiVco0+M=; b=Ig+MCqdikPrDdmTmC8k03mUp3V3KG64P10PRZ/Sdtitnv90mKsG80HF8Ex3ojuxSf0 8nDD/bS77ZP60fvOdi8gC57GisdbXmZFPPSP/QEfv8r6m8JJ4hFX6VmRIBuzD58/UnDN qxOo+2MlANWGU16Tty2DBE6FXGea6V7xe2SWokTwoPVZ3uOGqhgJpgAxTNrZSt6zxMvf kBIUI7CnbGYx1NEvj2iw134xUilwNB/cm/E6tp6GVy2Mkn+0xWCQshEG0K6CMPLLuOR5 MzZEmN/cfA7+SHnVc1axblfqm8rB8kSP6EqNkfrSgb6zABUrnyh6yFWUdIFF289H+pdj JqvA== X-Gm-Message-State: APzg51CBrD6A77BjwaW5zLOI9VQk1+F7P1rTEnzoISNuhy+tnf9lEbFY 6pTTMdkvaRcXaSF49Bfv6w4DX4T3RIzwCml+18k= X-Google-Smtp-Source: ANB0Vdb43g76knqzLMQCYwmP+HHbFLt9/NBoqeT0wespXMdKG0QKhTKv98z+PF6j++KC8k3qZ/EE81FWVfej11OZflw= X-Received: by 2002:a54:4784:: with SMTP id o4-v6mr3516544oic.101.1534941972428; Wed, 22 Aug 2018 05:46:12 -0700 (PDT) Original-Received: by 2002:a9d:26bb:0:0:0:0:0 with HTTP; Wed, 22 Aug 2018 05:46:11 -0700 (PDT) In-Reply-To: <87k1okddoz.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228803 Archived-At: On 20 August 2018 at 15:45, Michael Albinus wrote: > (defun my-executable-find (command &optional remote) > "Run `executable-find', and ignore optional REMOTE on older Emacsen." > (condition-case err > (executable-find command remote) > (wrong-number-of-arguments (executable-find command)) > (error (signal (car err) (cdr err))))) The last line can be dropped: if you don't handle the error type, it will already propagate upward so there is no need to catch and re-signal.