X-Loop: help-debbugs@HIDDEN
Subject: bug#15485: add-abbrev: don't use hard-coded forward-word
Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 29 Sep 2013 15:39:01 +0000
Resent-Message-ID: <handler.15485.B.13804691014805 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 15485
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 15485 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13804691014805
(code B ref -1); Sun, 29 Sep 2013 15:39:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Sep 2013 15:38:21 +0000
Received: from localhost ([127.0.0.1]:44939 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1VQJ4f-0001FQ-0S
for submit <at> debbugs.gnu.org; Sun, 29 Sep 2013 11:38:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60999)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from <andreas.roehler@HIDDEN>) id 1VQJ4c-0001FH-3H
for submit <at> debbugs.gnu.org; Sun, 29 Sep 2013 11:38:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <andreas.roehler@HIDDEN>) id 1VQJ4V-0001G4-5O
for submit <at> debbugs.gnu.org; Sun, 29 Sep 2013 11:38:17 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56303)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <andreas.roehler@HIDDEN>) id 1VQJ4V-0001G0-1s
for submit <at> debbugs.gnu.org; Sun, 29 Sep 2013 11:38:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34450)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <andreas.roehler@HIDDEN>) id 1VQJ4P-00022v-20
for bug-gnu-emacs@HIDDEN; Sun, 29 Sep 2013 11:38:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <andreas.roehler@HIDDEN>) id 1VQJ4I-0001EF-V8
for bug-gnu-emacs@HIDDEN; Sun, 29 Sep 2013 11:38:04 -0400
Received: from moutng.kundenserver.de ([212.227.126.186]:64039)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <andreas.roehler@HIDDEN>) id 1VQJ4I-0001E3-LB
for bug-gnu-emacs@HIDDEN; Sun, 29 Sep 2013 11:37:58 -0400
Received: from purzel.sitgens (brln-4dba32f8.pool.mediaWays.net
[77.186.50.248])
by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis)
id 0MfNr4-1VBOoR1tV4-00OpZt; Sun, 29 Sep 2013 17:37:57 +0200
Message-ID: <524849DB.4090407@HIDDEN>
Date: Sun, 29 Sep 2013 17:40:11 +0200
From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:haDtR39ummSyqSgHrPT9mdhE9IDjkVqnDghDW3jVl68
s5+EL8XzvjIXqNyppft2Cs7oLT1851QPCAMUNlQZok9bvnmp4y
53R8oCArhQxYl+b/m6+UOqwxG67gr9268+U5lnBzlGdxIso8uw
wNIkyRUJiJZlQuLOfq58R/1/oPACREIeVfSH0lmcYgXPQ6rgbs
7XAllCmnJOvUFfSjHL1qi3VUr1xrNcKpaw14zxjtXPqN1XwFEB
PtM3uLD0QwLq03X4h2svNd+SY1lNQrP48NbqjPnUifIpZuqdZ6
IpRmqTyZlGV2TZvBOldfnU5UwEVz2ZG9NwxH1V+jb/+FB2Ytz/
NgquTD9ld026IrlSEuVx0q6QOnJbtEiihjBi2w4c0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
(bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)
add-abbrev uses forward-word to catch the expansion, which isn't good for programming code.
See
http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbreviation-to-emmet-mode-in-emacs/19079683#19079683
Suggest to use forward-symbol instead, or still better to make if customizable:
(funcall add-abbrev-move-function
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Subject: bug#15485: Acknowledgement (add-abbrev: don't use hard-coded forward-word) Message-ID: <handler.15485.B.13804691014805.ack <at> debbugs.gnu.org> References: <524849DB.4090407@HIDDEN> X-Gnu-PR-Message: ack 15485 X-Gnu-PR-Package: emacs Reply-To: 15485 <at> debbugs.gnu.org Date: Sun, 29 Sep 2013 15:39:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 15485 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 15485: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15485 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#15485: add-abbrev: don't use hard-coded forward-word
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 15 Aug 2019 03:30:02 +0000
Resent-Message-ID: <handler.15485.B15485.156583978121509 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15485
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
Cc: 15485 <at> debbugs.gnu.org
Received: via spool by 15485-submit <at> debbugs.gnu.org id=B15485.156583978121509
(code B ref 15485); Thu, 15 Aug 2019 03:30:02 +0000
Received: (at 15485) by debbugs.gnu.org; 15 Aug 2019 03:29:41 +0000
Received: from localhost ([127.0.0.1]:50228 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hy6SK-0005ar-Nf
for submit <at> debbugs.gnu.org; Wed, 14 Aug 2019 23:29:40 -0400
Received: from quimby.gnus.org ([80.91.231.51]:33824)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1hy6SJ-0005aj-Ag
for 15485 <at> debbugs.gnu.org; Wed, 14 Aug 2019 23:29:39 -0400
Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23]
helo=sandy)
by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89) (envelope-from <larsi@HIDDEN>)
id 1hy6SF-0007K7-7K; Thu, 15 Aug 2019 05:29:38 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <524849DB.4090407@HIDDEN>
Date: Wed, 14 Aug 2019 20:29:32 -0700
In-Reply-To: <524849DB.4090407@HIDDEN> ("Andreas
\=\?utf-8\?Q\?R\=C3\=B6h\?\=
\=\?utf-8\?Q\?ler\=22's\?\= message of
"Sun, 29 Sep 2013 17:40:11 +0200")
Message-ID: <87pnl73y3n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> writes: >
add-abbrev uses forward-word to catch the expansion, which isn't good > for
programming code. > > See > > http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbreviation-to-emmet-
[...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Andreas R=C3=B6hler <andreas.roehler@HIDDEN> writes:
> add-abbrev uses forward-word to catch the expansion, which isn't good
> for programming code.
>
> See
>
> http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abb=
reviation-to-emmet-mode-in-emacs/19079683#19079683
>
> Suggest to use forward-symbol instead, or still better to make if customi=
zable:
(I'm going through old bug reports that have unfortunately gotten no
responses yet.)
`add-abbrev' doesn't have a doc string itself, but as all the in-tree
callers of this function says:
---
Don't use this function in a Lisp program; use `define-abbrev' instead.
---
So you probably shouldn't use this programmatically, either.
However, it's possible that the `forward-word' should perhaps be
changed, but on the other hand, abbrev.el will probably be deprecated
any year now in favour of nabbrev.el, so I don't think it's a good idea
to change anything here, and I'm closing this bug report.
--=20
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Received: (at control) by debbugs.gnu.org; 15 Aug 2019 03:29:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 14 23:29:52 2019 Received: from localhost ([127.0.0.1]:50231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hy6SW-0005bK-25 for submit <at> debbugs.gnu.org; Wed, 14 Aug 2019 23:29:52 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1hy6SU-0005bC-00 for control <at> debbugs.gnu.org; Wed, 14 Aug 2019 23:29:50 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1hy6SR-0007KE-3t for control <at> debbugs.gnu.org; Thu, 15 Aug 2019 05:29:49 +0200 Date: Wed, 14 Aug 2019 20:29:45 -0700 Message-Id: <87o90r3y3a.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #15485 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 15485 wontfix close 15485 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 15485 wontfix close 15485 quit
Received: (at control) by debbugs.gnu.org; 15 Aug 2019 03:29:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 14 23:29:52 2019 Received: from localhost ([127.0.0.1]:50231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hy6SW-0005bK-25 for submit <at> debbugs.gnu.org; Wed, 14 Aug 2019 23:29:52 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1hy6SU-0005bC-00 for control <at> debbugs.gnu.org; Wed, 14 Aug 2019 23:29:50 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1hy6SR-0007KE-3t for control <at> debbugs.gnu.org; Thu, 15 Aug 2019 05:29:49 +0200 Date: Wed, 14 Aug 2019 20:29:45 -0700 Message-Id: <87o90r3y3a.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #15485 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 15485 wontfix close 15485 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 15485 wontfix close 15485 quit
X-Loop: help-debbugs@HIDDEN
Subject: bug#15485: add-abbrev: don't use hard-coded forward-word
Resent-From: Mauro Aranda <maurooaranda@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 15 Aug 2019 12:42:01 +0000
Resent-Message-ID: <handler.15485.B15485.156587290919827 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15485
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: wontfix
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>, 15485 <at> debbugs.gnu.org
Received: via spool by 15485-submit <at> debbugs.gnu.org id=B15485.156587290919827
(code B ref 15485); Thu, 15 Aug 2019 12:42:01 +0000
Received: (at 15485) by debbugs.gnu.org; 15 Aug 2019 12:41:49 +0000
Received: from localhost ([127.0.0.1]:50786 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hyF4d-00059h-AC
for submit <at> debbugs.gnu.org; Thu, 15 Aug 2019 08:41:49 -0400
Received: from mail-lf1-f46.google.com ([209.85.167.46]:45774)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <maurooaranda@HIDDEN>) id 1hyF4a-00059S-H8
for 15485 <at> debbugs.gnu.org; Thu, 15 Aug 2019 08:41:45 -0400
Received: by mail-lf1-f46.google.com with SMTP id a30so1524952lfk.12
for <15485 <at> debbugs.gnu.org>; Thu, 15 Aug 2019 05:41:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=xA7+ACwK7IzfBO1TFMHouN7zHGhv63cKKwdIzO5Gw5Y=;
b=XSb/h8BqQZI7v6UyZ09YNknkMIoux1RlqBGSe42ppO0Z2JwbA5w98+hPjdXRyOV+qH
udhfqBDCvEDa464h8QRxOuEF+GfG+IyJWnKwzCcw05vYweYZUAznXGgjXzqb0f/gv72V
xavd2yu5fsAcMWHVTQs/wUgfLynQEVDpEfYVpR7mIHD5wEsbDN5TTzIOP0bZp9o3Fx4K
VCt1USPjQ8NEcg3TzCOX2d0OY+UquIdOtrhdtjK+fFcQ0J5WamN0wxG9SsdeDOgdUxLz
9P9BUUOg3nGd/+sIuX5mBDrKFV7M56b7sqIxr4WAQZA92MHHgR38JdrMLvo7XOkpUOag
s6Rg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=xA7+ACwK7IzfBO1TFMHouN7zHGhv63cKKwdIzO5Gw5Y=;
b=OjCSHNYUinNtXMUeSS59kpLIknaYRw07ZroZyvLYm1ZQa7qCjeu0OJyRFy6gjO49DC
DuFb26AJvifRhYSUstqdCeTiLBdebnLJ9LBfnjsL+wWIks8krh2H3/n1CF2DvnWS5Sry
IejE0Yioy25188HUsqkqqLqCBoHbH0r9utBcx5TMgsEmkpKLz6F+dq6nXBgqyQyD+HD6
5fdswF37z4/bBrzskMd2o9J7pDg18qIHpje0VuS+A+OBoaqlpu5hmOqJhZDXvk7uC1z2
ccPfjL6rbCGQh5o2MXLD2CBZOV77A8ZX2te4np6oToxKlkysPjUBvD/K7LZTmuEF+8yt
C+ug==
X-Gm-Message-State: APjAAAXsdjtRI462S2PUWPQM2hV+pjgpLF7T0VpPWKFnaMb1ZjhDYACz
ID50vm3IPHWkeKPvgBoTYn05DfScMo1j99fzh+w=
X-Google-Smtp-Source: APXvYqzrgxuGCNqQvKG4D2yd8myn4QgFYe+GRH45cWMW/WBZ5ZxiqDYWJxZc7Lq3BeOrqT9xvFPbutE98j+Q0GLhxOo=
X-Received: by 2002:ac2:4c8c:: with SMTP id d12mr2255752lfl.58.1565872898472;
Thu, 15 Aug 2019 05:41:38 -0700 (PDT)
MIME-Version: 1.0
References: <524849DB.4090407@HIDDEN> <87pnl73y3n.fsf@HIDDEN>
In-Reply-To: <87pnl73y3n.fsf@HIDDEN>
From: Mauro Aranda <maurooaranda@HIDDEN>
Date: Thu, 15 Aug 2019 09:41:26 -0300
Message-ID: <CABczVwfPWM0gWoCvrv2+yM28rCef6GGXggsOB12tcypte_Lz8Q@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000e07dd10590273154"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
--000000000000e07dd10590273154
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hello Lars.
Lars Ingebrigtsen <larsi@HIDDEN> writes:
> Andreas R=C3=B6hler <andreas.roehler@HIDDEN> writes:
>
>> add-abbrev uses forward-word to catch the expansion, which isn't good
>> for programming code.
>>
>> See
>>
>>
http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbre=
viation-to-emmet-mode-in-emacs/19079683#19079683
>>
>> Suggest to use forward-symbol instead, or still better to make if
customizable:
>
> `add-abbrev' doesn't have a doc string itself, but as all the in-tree
> callers of this function says:
>
> ---
> Don't use this function in a Lisp program; use `define-abbrev' instead.
> ---
>
> So you probably shouldn't use this programmatically, either.
I don't think the OP wanted to use `add-abbrev' in a Lisp program. What
I understand is that the problem reported arises when someone wants to
add an abbrev for a programming construct (in the example: "<?php ?>")
it is likely that `add-abbrev' won't give the entire desired
expansion.
With that being said, at least in current Emacs it is easy to add that
abbrev, by setting the mark and point properly and calling
`add-mode-abbrev' with a 0 prefix argument.
> However, it's possible that the `forward-word' should perhaps be
> changed, but on the other hand, abbrev.el will probably be deprecated
> any year now in favour of nabbrev.el, so I don't think it's a good idea
What is nabbrev.el? I did a search in what I believe are usual places,
but didn't found anything.
--000000000000e07dd10590273154
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello Lars.<br><br>Lars Ingebrigtsen <<a href=3D"mailto=
:larsi@HIDDEN">larsi@HIDDEN</a>> writes:<br><br>> Andreas R=C3=B6=
hler <<a href=3D"mailto:andreas.roehler@HIDDEN">andreas.roehler@e=
asy-emacs.de</a>> writes:<br>><br>>> add-abbrev uses forward-wo=
rd to catch the expansion, which isn't good<br>>> for programming=
code.<br>>><br>>> See<br>>><br>>> <a href=3D"http:=
//stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbreviati=
on-to-emmet-mode-in-emacs/19079683#19079683">http://stackoverflow.com/quest=
ions/19073674/how-can-i-add-my-personal-abbreviation-to-emmet-mode-in-emacs=
/19079683#19079683</a><br>>><br>>> Suggest to use forward-symbo=
l instead, or still better to make if customizable:<br>><br>> `add-ab=
brev' doesn't have a doc string itself, but as all the in-tree<br>&=
gt; callers of this function says:<br>><br>> ---<br>> Don't us=
e this function in a Lisp program; use `define-abbrev' instead.<br>>=
---<br>><br>> So you probably shouldn't use this programmaticall=
y, either.<br><br>I don't think the OP wanted to use `add-abbrev' i=
n a Lisp program.=C2=A0 What<br>I understand is that the problem reported a=
rises when someone wants to<br>add an abbrev for a programming construct (i=
n the example: "<?php ?>")<br>it is likely that `add-abbrev=
' won't give the entire desired<br>expansion.<br><br>With that bein=
g said, at least in current Emacs it is easy to add that<br>abbrev, by sett=
ing the mark and point properly and calling<br>`add-mode-abbrev' with a=
0 prefix argument.<br><br>> However, it's possible that the `forwar=
d-word' should perhaps be<br>> changed, but on the other hand, abbre=
v.el will probably be deprecated<br>> any year now in favour of nabbrev.=
el, so I don't think it's a good idea<br><br>What is nabbrev.el?=C2=
=A0 I did a search in what I believe are usual places,<br>but didn't fo=
und anything.</div>
--000000000000e07dd10590273154--
X-Loop: help-debbugs@HIDDEN
Subject: bug#15485: add-abbrev: don't use hard-coded forward-word
Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 15 Aug 2019 14:35:02 +0000
Resent-Message-ID: <handler.15485.B15485.15658796857190 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15485
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: wontfix
To: Mauro Aranda <maurooaranda@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 15485 <at> debbugs.gnu.org
Received: via spool by 15485-submit <at> debbugs.gnu.org id=B15485.15658796857190
(code B ref 15485); Thu, 15 Aug 2019 14:35:02 +0000
Received: (at 15485) by debbugs.gnu.org; 15 Aug 2019 14:34:45 +0000
Received: from localhost ([127.0.0.1]:52123 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hyGpx-0001ru-Ao
for submit <at> debbugs.gnu.org; Thu, 15 Aug 2019 10:34:45 -0400
Received: from mout.kundenserver.de ([212.227.17.10]:44843)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <andreas.roehler@HIDDEN>) id 1hyGpv-0001rd-Fj
for 15485 <at> debbugs.gnu.org; Thu, 15 Aug 2019 10:34:44 -0400
Received: from [192.168.178.39] ([87.123.193.193]) by mrelayeu.kundenserver.de
(mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id
1MiIlc-1iSfhS1xRe-00fTRI; Thu, 15 Aug 2019 16:34:36 +0200
References: <524849DB.4090407@HIDDEN> <87pnl73y3n.fsf@HIDDEN>
<CABczVwfPWM0gWoCvrv2+yM28rCef6GGXggsOB12tcypte_Lz8Q@HIDDEN>
From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
Message-ID: <1e93bdc1-a85a-b189-8a15-ab5b4441fcf9@HIDDEN>
Date: Thu, 15 Aug 2019 16:37:16 +0200
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101
Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CABczVwfPWM0gWoCvrv2+yM28rCef6GGXggsOB12tcypte_Lz8Q@HIDDEN>
Content-Type: multipart/alternative;
boundary="------------4D39560839D0609198F61CC4"
Content-Language: en-US
X-Provags-ID: V03:K1:V17bSAs5NGB3525jgJdmAMtHX/q8RLCPIM7UQhlVItNEMAMopb/
hUip7JKOoV7AgHOwx90Tm0WlzQ68CX9LlwYecjZm1W4T4DsjrYIv/h8IH84xsPdpDsgbWcs
syMinTa4vwLlDLnxmzo5mUzZmpGiYKFM+zyPJL3zf9ptlzeDTD3olYLdjiwUNgbnBfCRPNQ
ioRMK8Q3juD8cc389xe1A==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:NHmYpgjIigo=:BZq7644H6dDhIuTfOEIX6j
96LtP55Dwyy15+bCXASVq0JntFbEuXYUULi/UkOhHbTTsdZ8vRLqoEPoYy1T49xUdr7GU3/ii
6cL8G77dugMHBjd/IjWydRQYp7TTmBTQwIagIM3JBPM3yRnVORF/KJhE9ukf0/aULR+gMvCRL
Ui4L9HzQfqVh9fx0pgwliZh3+Ff6jPjDu3KAgfdjQfqan8HXLYBsWyXnlVlnydZ20kDW7cmxc
ziJ6ha0XIGNEX9uFVFz0jzPTLEpsvsAJvarD3dzCZ3XWxG6K2oJQEPcpehI8hdafUw6yO+eJg
PIpVIZIXNPVGKAcsEGeL5eTvQ65d3oh5xig8Lj2Uc92moZJINj8k/rNxQkNmZ2FlULWgFM44n
wxnvB383uPxFrPwvkRswMdOVAgNUIgmyuSSRWonIgBjN27gZjTqhBSl2fmOgvjCxqt7pWuhBp
Q3ktNVW95pfJGZiSr51k+7oHu8EatPAbxbF/lalVdd4o6f9WylvrlVTkl4ZUXBxM80hjv28LC
oe4F6ZGT+R43FQjq7Mvo7hSx2mvB7b4Wxzu09q/q55KJ80rWJAVy+D2/jyh1lZS1dsb6lSqq8
fEdV9fkfS78acYtdjEGmyEGyfTeJy5wdWbFMcR9ygNz/TgwjydNUESCrJpbXYEHeTGyyDxKjo
KLw8UUd3u7XHoEE50pvdME1YpqjI+babm7HgQhXdj9ksbxpas3pQqS5++ykU1KqOrgyxbaPIu
5uwHbcuJqdYM9WGKsG5NvqKhtMa9/ZdN6ILEsvN3YxJtneEKICXr6ShtaIZ7UBq7yDewp8hvi
LN0MmYt
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)
This is a multi-part message in MIME format.
--------------4D39560839D0609198F61CC4
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi all,
On 15.08.19 14:41, Mauro Aranda wrote:
> Hello Lars.
>
> Lars Ingebrigtsen <larsi@HIDDEN <mailto:larsi@HIDDEN>> writes:
>
> > Andreas Röhler <andreas.roehler@HIDDEN
> <mailto:andreas.roehler@HIDDEN>> writes:
> >
> >> add-abbrev uses forward-word to catch the expansion, which isn't good
> >> for programming code.
> >>
> >> See
> >>
> >>
> http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbreviation-to-emmet-mode-in-emacs/19079683#19079683
> >>
> >> Suggest to use forward-symbol instead, or still better to make if
> customizable:
> >
> > `add-abbrev' doesn't have a doc string itself, but as all the in-tree
> > callers of this function says:
> >
> > ---
> > Don't use this function in a Lisp program; use `define-abbrev' instead.
> > ---
> >
> > So you probably shouldn't use this programmatically, either.
>
> I don't think the OP wanted to use `add-abbrev' in a Lisp program. What
> I understand is that the problem reported arises when someone wants to
> add an abbrev for a programming construct (in the example: "<?php ?>")
> it is likely that `add-abbrev' won't give the entire desired
> expansion.
>
> With that being said, at least in current Emacs it is easy to add that
> abbrev, by setting the mark and point properly and calling
> `add-mode-abbrev' with a 0 prefix argument.
>
> > However, it's possible that the `forward-word' should perhaps be
> > changed, but on the other hand, abbrev.el will probably be deprecated
> > any year now in favour of nabbrev.el, so I don't think it's a good idea
>
> What is nabbrev.el? I did a search in what I believe are usual places,
> but didn't found anything.
The idea was to get rid of the restriction only word-syntax chars might
compose an abbreviation.
After all, when playing with a patched Emacs allowing all chars, it
turned out word-chars are much more easy to type, so didn't use
symbol-composed abbrevs finally.
--------------4D39560839D0609198F61CC4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,<br>
</p>
<div class="moz-cite-prefix">On 15.08.19 14:41, Mauro Aranda wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABczVwfPWM0gWoCvrv2+yM28rCef6GGXggsOB12tcypte_Lz8Q@HIDDEN">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello Lars.<br>
<br>
Lars Ingebrigtsen <<a href="mailto:larsi@HIDDEN"
moz-do-not-send="true">larsi@HIDDEN</a>> writes:<br>
<br>
> Andreas Röhler <<a
href="mailto:andreas.roehler@HIDDEN"
moz-do-not-send="true">andreas.roehler@HIDDEN</a>>
writes:<br>
><br>
>> add-abbrev uses forward-word to catch the expansion,
which isn't good<br>
>> for programming code.<br>
>><br>
>> See<br>
>><br>
>> <a
href="http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbreviation-to-emmet-mode-in-emacs/19079683#19079683"
moz-do-not-send="true">http://stackoverflow.com/questions/19073674/how-can-i-add-my-personal-abbreviation-to-emmet-mode-in-emacs/19079683#19079683</a><br>
>><br>
>> Suggest to use forward-symbol instead, or still better
to make if customizable:<br>
><br>
> `add-abbrev' doesn't have a doc string itself, but as all
the in-tree<br>
> callers of this function says:<br>
><br>
> ---<br>
> Don't use this function in a Lisp program; use
`define-abbrev' instead.<br>
> ---<br>
><br>
> So you probably shouldn't use this programmatically,
either.<br>
<br>
I don't think the OP wanted to use `add-abbrev' in a Lisp
program. What<br>
I understand is that the problem reported arises when someone
wants to<br>
add an abbrev for a programming construct (in the example:
"<?php ?>")<br>
it is likely that `add-abbrev' won't give the entire desired<br>
expansion.<br>
<br>
With that being said, at least in current Emacs it is easy to
add that<br>
abbrev, by setting the mark and point properly and calling<br>
`add-mode-abbrev' with a 0 prefix argument.<br>
<br>
> However, it's possible that the `forward-word' should
perhaps be<br>
> changed, but on the other hand, abbrev.el will probably be
deprecated<br>
> any year now in favour of nabbrev.el, so I don't think it's
a good idea<br>
<br>
What is nabbrev.el? I did a search in what I believe are usual
places,<br>
but didn't found anything.</div>
</blockquote>
<p><br>
</p>
<p>The idea was to get rid of the restriction only word-syntax chars
might compose an abbreviation.</p>
<p>After all, when playing with a patched Emacs allowing all chars,
it turned out word-chars are much more easy to type, so didn't use
symbol-composed abbrevs finally. <br>
</p>
</body>
</html>
--------------4D39560839D0609198F61CC4--
Received: (at fakecontrol) by fakecontrolmessage; To: internal_control <at> debbugs.gnu.org From: Debbugs Internal Request <help-debbugs@HIDDEN> Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Thu, 15 Aug 2019 23:50:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator
X-Loop: help-debbugs@HIDDEN
Subject: bug#15485: add-abbrev: don't use hard-coded forward-word
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 15 Aug 2019 23:51:01 +0000
Resent-Message-ID: <handler.15485.B15485.15659130561400 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15485
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: wontfix
To: Mauro Aranda <maurooaranda@HIDDEN>
Cc: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>, 15485 <at> debbugs.gnu.org
Received: via spool by 15485-submit <at> debbugs.gnu.org id=B15485.15659130561400
(code B ref 15485); Thu, 15 Aug 2019 23:51:01 +0000
Received: (at 15485) by debbugs.gnu.org; 15 Aug 2019 23:50:56 +0000
Received: from localhost ([127.0.0.1]:52689 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hyPWC-0000MW-Bv
for submit <at> debbugs.gnu.org; Thu, 15 Aug 2019 19:50:56 -0400
Received: from quimby.gnus.org ([80.91.231.51]:49380)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1hyPWA-0000MN-Ut
for 15485 <at> debbugs.gnu.org; Thu, 15 Aug 2019 19:50:55 -0400
Received: from [50.225.213.182] (helo=sandy)
by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89) (envelope-from <larsi@HIDDEN>)
id 1hyPW4-0008BC-U0; Fri, 16 Aug 2019 01:50:51 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <524849DB.4090407@HIDDEN> <87pnl73y3n.fsf@HIDDEN>
<CABczVwfPWM0gWoCvrv2+yM28rCef6GGXggsOB12tcypte_Lz8Q@HIDDEN>
Date: Thu, 15 Aug 2019 16:50:44 -0700
In-Reply-To: <CABczVwfPWM0gWoCvrv2+yM28rCef6GGXggsOB12tcypte_Lz8Q@HIDDEN>
(Mauro Aranda's message of "Thu, 15 Aug 2019 09:41:26 -0300")
Message-ID: <87a7cat2cr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Mauro Aranda <maurooaranda@HIDDEN> writes: > I don't think
the OP wanted to use `add-abbrev' in a Lisp program. What > I understand
is that the problem reported arises when someone wants to > add an abbrev
for a programming construct (in the e [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Mauro Aranda <maurooaranda@HIDDEN> writes:
> I don't think the OP wanted to use `add-abbrev' in a Lisp program. What
> I understand is that the problem reported arises when someone wants to
> add an abbrev for a programming construct (in the example: "<?php ?>")
> it is likely that `add-abbrev' won't give the entire desired
> expansion.
>
> With that being said, at least in current Emacs it is easy to add that
> abbrev, by setting the mark and point properly and calling
> `add-mode-abbrev' with a 0 prefix argument.
Ah, I see.
>> However, it's possible that the `forward-word' should perhaps be
>> changed, but on the other hand, abbrev.el will probably be deprecated
>> any year now in favour of nabbrev.el, so I don't think it's a good idea
>
> What is nabbrev.el? I did a search in what I believe are usual places,
> but didn't found anything.
Sorry, I was completely confused. Somehow I was thinking about
advice.el/nadvice.el here. :-/
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Received: (at control) by debbugs.gnu.org; 13 Sep 2019 12:20:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 13 08:20:34 2019 Received: from localhost ([127.0.0.1]:44499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i8kZ0-0004Kr-OH for submit <at> debbugs.gnu.org; Fri, 13 Sep 2019 08:20:34 -0400 Received: from mail-pl1-f171.google.com ([209.85.214.171]:46164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1i8kYz-0004Kc-8m for control <at> debbugs.gnu.org; Fri, 13 Sep 2019 08:20:33 -0400 Received: by mail-pl1-f171.google.com with SMTP id t1so13163140plq.13 for <control <at> debbugs.gnu.org>; Fri, 13 Sep 2019 05:20:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vEaazTatdRappsyaiMxGBIZJHX0UKZwyaqs3wmu6Wvg=; b=jS+7Uyd3mHCrUECaB3Ir0xi8sPzFPLIiIiajuyxWoy7D8g5oeuYZQRSgyoxAisWryw /rBvXLWyvzDit13kCiEehDQxJ//opm4b9IdfG5TMmiM3QUPCy1ZAAv3tEt9YB8f2lkBm 7RgbpSexY8Z1FzhADnlqxLw8AEcr+EfRMjzt0bryfuDdM2PBmkPgHYgS6TdbhRBjicr2 9Wu3oR/aYiGq0+zw+/oGwd/7ZPPcJdMhiLDM6s1y+TE/LJj58B0SBDeSTw2d959OrWUB +l2AVeiDB3G39rJHWfv4plyb/x5ZZ820bgObJAq4dQb0gvzE46ffuXMBmtOJYZqQXXyc Fk3g== X-Gm-Message-State: APjAAAXrJ3QENCv+TCUDJ4qYPaab9zgp2DNfuJt736bpyPwO8ew001ew Z5gtNHQ9ct5WpGF2MNMImAldG/LBxjLxmVS6Cwxvnh/y X-Google-Smtp-Source: APXvYqy+9CUxSth5IK7fUhGsRgP9mt/hE1/EKgZnJoYTWA3Qe9VumgxXciLC01lyy4BWqSlRlWVgNa6Jel3h8sp3WPo= X-Received: by 2002:a17:902:8b8c:: with SMTP id ay12mr46590226plb.251.1568377227344; Fri, 13 Sep 2019 05:20:27 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Fri, 13 Sep 2019 14:20:16 +0200 Message-ID: <CADwFkmk_5=9=NgywLOUX4bnV60bq842FLDuBSogRoEmnJ_x09w@HIDDEN> Subject: To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: # report was re-opened, but wontfix was not removed tags 15485 - wontfix quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.171 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.214.171 listed in wl.mailspike.net] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) # report was re-opened, but wontfix was not removed tags 15485 - wontfix quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.