[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read-abbrev-file (2)
From: |
Andreas Roehler |
Subject: |
Re: read-abbrev-file (2) |
Date: |
Tue, 25 Apr 2006 21:55:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060411 |
Richard Stallman wrote:
> > I cannot reproduce the problem.
It only occurs at the very beginning, after starting Emacs.
> > Maybe it has been fixed since February.
> > Does it fail in the latest sources?
Yes, noticed the change.
> > If so, can you try to debug it by running under GDB and putting
> > a breakpoint at Fsignal?
> >
Will try that, but it would take some time. I'm not familiar with.
__
Andreas Roehler
What about to use this until then?:
;(defalias 'read-abbrev-file 'ar-read-abbrev-file)
;(defalias 'quietly-read-abbrev-file 'ar-quietly-read-abbrev-file)
(defun ar-read-abbrev-file (&optional file)
"Read abbrev definitions from file written with `write-abbrev-file'.
Optional argument FILE is the name of the file to read;
it defaults to the value of `abbrev-file-name'"
(interactive
(list
(read-from-minibuffer (concat "default: " abbrev-file-name ": "))))
(if (or (string-match "[ \t]+" file)
(string= "" file))
(setq file abbrev-file-name))
(load file nil)
(setq abbrevs-changed nil))
(defun ar-quietly-read-abbrev-file (&optional file)
"Read abbrev definitions from file written with `write-abbrev-file'.
Optional argument FILE is the name of the file to read;
it defaults to the value of `abbrev-file-name'.
Does not display any message."
(interactive)
(let ((file file))
(unless (stringp file)
(setq file abbrev-file-name))
(load file nil t)
(setq abbrevs-changed nil)))
- read-abbrev-file, Andreas Roehler, 2006/04/22
- Re: read-abbrev-file, Richard Stallman, 2006/04/23
- Re: read-abbrev-file (2),
Andreas Roehler <=
- Re: read-abbrev-file (2), Richard Stallman, 2006/04/25
- Re: read-abbrev-file (2), Andreas Roehler, 2006/04/26
- Re: read-abbrev-file (2), Richard Stallman, 2006/04/27
- Re: read-abbrev-file (2), Andreas Roehler, 2006/04/27
- Re: read-abbrev-file (2), Richard Stallman, 2006/04/27
- Re: read-abbrev-file (2), Andreas Roehler, 2006/04/28