From: raman <raman@users.sf.net>
To: emacs-pretest-bug@gnu.org
Subject: completion.el -- should use buffer-substring-no-properties instead of buffer-string
Date: Wed, 15 Aug 2007 00:35:05 -0700 (PDT) [thread overview]
Message-ID: <20070815073505.95E1F12A4071@localhost> (raw)
I fixed this a while ago in my local copy of Emacs and have been
using it without any unforeseen consequences for a while, so I
thought it was time to submit this as a patch:
In completion.el, completions are stored to the completions file
along with text properties ---
the text properties dont achieve anything in this case. There are
a total of four instances of calls to buffer-substring in
completion.el -- I did a global replace to use
buffer-substring-no-properties
In GNU Emacs 22.1.50.19 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-08-14 on labrador
configured using `configure '--prefix=/usr/local' '--with-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: nil
Major mode: Shell
Minor modes in effect:
jabber-activity-mode: t
dired-omit-mode: t
dynamic-completion-mode: t
shell-dirtrack-mode: t
savehist-mode: t
display-time-mode: t
desktop-save-mode: t
auto-insert-mode: t
encoded-kbd-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
Recent input:
s e SPC d e f a u l t SPC h e a d e r SPC l i n e SPC
i f SPC n o n e SPC s e t SPC t o SPC s p e a k SPC
b u f f e r ESC DEL ESC DEL s h o w SPC b u f f e r
SPC n a m e . " ; SPC m a k e RET C-e m C-e x v 1 RET
ESC < C-n C-n C-n C-n C-n ESC > C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-e m C-e ESC t C-e C-w C-x 1 ESC < C-e C-w C-n
ESC > C-p C-p C-x 4 b c a l RET C-e ESC t C-x o ESC
[ [ C ESC [ [ C ESC [ 2 3 ~ C-x o C-e x v 1 RET C-x
1 ESC < C-n C-n ESC > C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p ESC < C-e m C-e
SPC ESC [ 2 3 ~ ESC [ K ESC [ 2 3 ~ c d RET c d SPC
e m TAB l i TAB e m TAB RET ESC x l o a d SPC l i RET
e m a c s p e a k - a d v TAB RET C-e a ESC [ K ESC
[ L ESC [ L ESC [ L ESC [ L C-e x DEL ESC [ 2 3 ~ C-e
m c d RET C-e m C-e m C-e m ESC x r e p o r t SPC e
m TAB b TAB RET
Recent messages:
~
Loading emacsbug...done
Thanks,
--Raman
--
Best Regards,
--raman
Email: raman@users.sf.net
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: tv.raman.tv@gmail.com
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs
next reply other threads:[~2007-08-15 7:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-15 7:35 raman [this message]
2007-08-16 1:08 ` completion.el -- should use buffer-substring-no-properties instead of buffer-string Richard Stallman
2007-08-17 7:35 ` Glenn Morris
2007-08-17 13:37 ` T. V. Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070815073505.95E1F12A4071@localhost \
--to=raman@users.sf.net \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.