bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

abbrev-prefix-mark


From: Luc Teirlinck
Subject: abbrev-prefix-mark
Date: Thu, 26 Apr 2001 21:33:42 -0500 (CDT)

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.1 (sparc-sun-solaris2.8, X toolkit)
 of Thu Apr 12 2001 on eel
configured using `configure  --prefix=/home/teirllm/emacshome'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This concerns the documentation string of `abbrev-prefix-mark'.  There
is nothing wrong with the function itself.  However, the explanation
of what the function does in the documentation string is
incomplete.  The function can take a numeric argument, which under
certain conditions can be important, also when used
interactively.  However, at present, that numeric argument is not
mentioned anywhere in the documentation string.  Its purpose can, at
present, only be figured out by reading the Lisp code.

I include a context diff with two added lines in the documentation
string. 

cd ~/
diff -c /home/teirllm/abbrev.old.el /home/teirllm/abbrev.new.el
*** /home/teirllm/abbrev.old.el Thu Apr  8 11:18:58 1999
--- /home/teirllm/abbrev.new.el Thu Apr 26 21:17:18 2001
***************
*** 284,290 ****
    "Mark current point as the beginning of an abbrev.
  Abbrev to be expanded starts here rather than at beginning of word.
  This way, you can expand an abbrev with a prefix: insert the prefix,
! use this command, then insert the abbrev."
    (interactive "P")
    (or arg (expand-abbrev))
    (setq abbrev-start-location (point-marker)
--- 284,293 ----
    "Mark current point as the beginning of an abbrev.
  Abbrev to be expanded starts here rather than at beginning of word.
  This way, you can expand an abbrev with a prefix: insert the prefix,
! use this command, then insert the abbrev.
! If the prefix itself is a valid abbrev, this command will expand it 
! \(regardless of whether abbrev-mode is enabled\) unless a numeric 
! argument is given."
    (interactive "P")
    (or arg (expand-abbrev))
    (setq abbrev-start-location (point-marker)

Diff finished at Thu Apr 26 21:19:28


Recent input:
SPC C-u SPC C-u SPC C-u SPC C-u SPC S a b b r v backspace 
backspace r e v C-g C-s a b b r e v C-s C-s C-s C-s 
C-s C-s C-s C-s C-s C-s return C-s C-s C-s return = 
return C-x 0 M-x r e C-g C-x d C-g C-x C-s d i f f 
1 return C-x d return g return up up up up up up up 
up right right right right right right right C-SPC 
C-w C-s C-w C-w C-w M-w M-x r e p - e m - b u retu
rn

Recent messages:
Quit
Mark saved where search started [2 times]
Fontifying *diff*...
Fontifying *diff*... (regexps...........................)
Quit [2 times]
Wrote /home/teirllm/diff1
Directory has changed on disk; type g to update Dired
Reading directory /home/teirllm/...
Reading directory /home/teirllm/...done
Mark set



reply via email to

[Prev in Thread] Current Thread [Next in Thread]