GNU bug report logs - #23891
define-abbrevs - property args not accessible

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Mon, 4 Jul 2016 08:14:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 23891 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23891; Package emacs. (Mon, 04 Jul 2016 08:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 04 Jul 2016 08:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: define-abbrevs - property args not accessible
Date: Mon, 4 Jul 2016 10:12:58 +0200
`define-abbrevs' comes with an option to use case-sensitivabbreviations. 
Nice, thanks.

However don't see a way to specify this '(:case-fixed t)froma command.

Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
What about having customizable vars for this, which are taken when set?

;;;;;;

GNU Emacs 25.0.95.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-06-12





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23891; Package emacs. (Mon, 04 Jul 2016 08:40:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23891: define-abbrevs - property args not accessible
Date: Mon, 4 Jul 2016 10:44:00 +0200
Please read `define-abbrev', singular.


On 04.07.2016 10:12, Andreas Röhler wrote:
> `define-abbrevs' comes with an option to use 
> case-sensitivabbreviations. Nice, thanks.
>
> However don't see a way to specify this '(:case-fixed t)froma command.
>
> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
> What about having customizable vars for this, which are taken when set?
>
> ;;;;;;
>
> GNU Emacs 25.0.95.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 
> 2016-06-12
>
>
>
>






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23891; Package emacs. (Tue, 05 Jul 2016 01:57:02 GMT) Full text and rfc822 format available.

Message #11 received at 23891 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 23891 <at> debbugs.gnu.org
Subject: Re: bug#23891: define-abbrevs - property args not accessible
Date: Mon, 04 Jul 2016 21:56:05 -0400
Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:

>> `define-abbrev' comes with an option to use
>> case-sensitive abbreviations. Nice, thanks.
>>
>> However don't see a way to specify this '(:case-fixed t)from a command.
>>
>> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
>> What about having customizable vars for this, which are taken when set?

It seems `edit-abbrevs' also lacks support for properties: an abbrev
defined with :case-fixed via `define-abbrev' does not show up with an
indicator in the *Abbrevs* buffer, and when saving the propery is
removed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23891; Package emacs. (Tue, 05 Jul 2016 07:15:01 GMT) Full text and rfc822 format available.

Message #14 received at 23891 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: npostavs <at> users.sourceforge.net
Cc: 23891 <at> debbugs.gnu.org
Subject: Re: bug#23891: define-abbrevs - property args not accessible
Date: Tue, 5 Jul 2016 09:18:35 +0200

On 05.07.2016 03:56, npostavs <at> users.sourceforge.net wrote:
> Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
>
>>> `define-abbrev' comes with an option to use
>>> case-sensitive abbreviations. Nice, thanks.
>>>
>>> However don't see a way to specify this '(:case-fixed t)from a command.
>>>
>>> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
>>> What about having customizable vars for this, which are taken when set?
> It seems `edit-abbrevs' also lacks support for properties: an abbrev
> defined with :case-fixed via `define-abbrev' does not show up with an
> indicator in the *Abbrevs* buffer, and when saving the propery is
> removed.

Thanks for your care. Beside there was also slowness reported - and 
still experienced:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14518#29




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23891; Package emacs. (Wed, 06 Jul 2016 07:52:02 GMT) Full text and rfc822 format available.

Message #17 received at 23891 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: npostavs <at> users.sourceforge.net
Cc: 23891 <at> debbugs.gnu.org
Subject: Re: bug#23891: define-abbrevs - property args not accessible
Date: Wed, 6 Jul 2016 09:55:49 +0200

On 05.07.2016 03:56, npostavs <at> users.sourceforge.net wrote:
> Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
>
>>> `define-abbrev' comes with an option to use
>>> case-sensitive abbreviations. Nice, thanks.
>>>
>>> However don't see a way to specify this '(:case-fixed t)from a command.
>>>
>>> Neither `add-global-abbrev' nor `add-mode-abbrev' offer a slot.
>>> What about having customizable vars for this, which are taken when set?
> It seems `edit-abbrevs' also lacks support for properties: an abbrev
> defined with :case-fixed via `define-abbrev' does not show up with an
> indicator in the *Abbrevs* buffer, and when saving the propery is
> removed.

Here still an example how the matter showed up:

The abbrev-expansion by default works like this:

tlb -> the london bridge

tLB -> the London Bridge

The limitations are obvious: the abbreviation needs to represent any 
word of the expansion text. No way to define:

tLB -> Let's work that afternoon over the London Bridge.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23891; Package emacs. (Wed, 06 Jul 2016 08:20:01 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23891: define-abbrevs - property args not accessible
Date: Wed, 6 Jul 2016 10:24:23 +0200

On 06.07.2016 09:55, Andreas Röhler wrote:
>
> The limitations are obvious: the abbreviation needs to represent any 
> word of the expansion text. No way to define:
>
> tLB -> Let's work that afternoon over the London Bridge.
>
>
>
>

The latter should read

No way to define:

tLB -> Let's work that afternoon over the London Bridge.

and

tlb -> Something interesting too

in parallel




This bug report was last modified 8 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.