Re: invalid-function ('use-completion-backward)

2006-01-24 Thread Luc Teirlinck
Chris Moore wrote:
   
   My .emacs contains a single line:

   (dynamic-completion-mode)

   If the first thing I do upon starting Emacs is type:

   C-x C-f backspace

   then I see an error message:

   Error in pre-command-hook: (invalid-function ((quote
   use-completion-backward)))

I believe that the folowing patch should fix this.  I can install if
desired.

===File ~/completion-diff===
*** completion.el   02 Dec 2005 16:17:17 -0600  1.55
--- completion.el   24 Jan 2006 11:27:18 -0600  
***
*** 82,88 
  ;;  SAVING/LOADING COMPLETIONS
  ;;   Completions are automatically saved from one session to another
  ;; (unless save-completions-flag or enable-completion is nil).
! ;; Activating this minor-mode calling completion-initialize) causes Emacs
  ;; to load a completions database for a saved completions file
  ;; (default: ~/.completions).  When you exit, Emacs saves a copy of the
  ;; completions that you
--- 82,88 
  ;;  SAVING/LOADING COMPLETIONS
  ;;   Completions are automatically saved from one session to another
  ;; (unless save-completions-flag or enable-completion is nil).
! ;; Activating this minor-mode (calling completion-initialize) causes Emacs
  ;; to load a completions database for a saved completions file
  ;; (default: ~/.completions).  When you exit, Emacs saves a copy of the
  ;; completions that you
***
*** 2250,2262 
  TYPE is the type of the wrapper to be added.  Can be :before or :under.
(put function-name 'completion-function
 (cdr (assq type
!   '((:separator 'use-completion-before-separator)
! (:before 'use-completion-before-point)
! (:backward-under 'use-completion-backward-under)
! (:backward 'use-completion-backward)
! (:under 'use-completion-under-point)
! (:under-or-before 'use-completion-under-or-before-point)
! (:minibuffer-separator 
'use-completion-minibuffer-separator))
  
  (defun use-completion-minibuffer-separator ()
(let ((completion-syntax-table completion-standard-syntax-table))
--- 2250,2263 
  TYPE is the type of the wrapper to be added.  Can be :before or :under.
(put function-name 'completion-function
 (cdr (assq type
!   '((:separator . use-completion-before-separator)
! (:before . use-completion-before-point)
! (:backward-under . use-completion-backward-under)
! (:backward . use-completion-backward)
! (:under . use-completion-under-point)
! (:under-or-before . use-completion-under-or-before-point)
! (:minibuffer-separator
!. use-completion-minibuffer-separator))
  
  (defun use-completion-minibuffer-separator ()
(let ((completion-syntax-table completion-standard-syntax-table))



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: `make info' fails on cc-mode.texi with Texinfo 4.3

2006-01-24 Thread Eli Zaretskii
 From: Ralf Angeli [EMAIL PROTECTED]
 Date: Tue, 24 Jan 2006 16:10:30 +0100
 
 The build process aborts if `make info' is called with Texinfo 4.3.
 Here is the build output:
 
 $ make info
 [Please ignore a syntax error on the next line - it is intentional]
 /bin/sh.exe: -c: line 1: unexpected EOF while looking for matching `'
 /bin/sh.exe: -c: line 2: syntax error: unexpected end of file
 makeinfo --force emacs.texi
 makeinfo --force emacs-xtra.texi
 makeinfo --force cc-mode.texi
 cc-mode.texi:1621: Unknown command `headitem'.
 cc-mode.texi:1654: Unknown command `headitem'.
 make: *** [../info/ccmode] Error 2
 
 Version information for `makeinfo':
 
 $ makeinfo --version
 makeinfo (GNU texinfo) 4.3
 [...]
 
 This version comes with current MSYS and does not know @headitem which
 was introduced with Texinfo 4.7.

Texinfo 4.3 is 3 years old, which is very old.  Why don't you install
a Texinfo port from GnuWin32, they have v4.8 there.

CC Mode says quite explicitly:

@comment Note that Texinfo 4.7 (or later) is needed.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: thumbs doesn't show next image

2006-01-24 Thread Nick Roberts
Dieter Wilhelm writes:
  The following message is a courtesy copy of an article
  that has been posted to gmane.emacs.pretest.bugs as well.
  
  Hi Nick,
  
  unfortunately I've to report additional problems besides the
  duplications in the *Image* buffer (please refer to my previous post,
  I forgot to mail it to you personally).
  
  *Image* buffer:
  1.) , rotate-right and -left rotating only one step (just 90 °) and
after that changing the direction results in only 180 ° rotations.
  2.) after applying rotate-left or -right and then - or +
(thumbs-resize-image-size-down or -up) the picture is not only
changed in size but also rotated back into it's original position.
  
  *Thumbs: ... buffer:
  3.) marking and deleting (x) - wrong type argument

These should work too now.  Please tell me if they don't.

Nick

(I've cc'd emacs-pretest-bug@gnu.org as I don't know how to send to
gmane.emacs.pretest.bugs and the former should presumably go to the latter in
any case.)


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: invalid-function ('use-completion-backward)

2006-01-24 Thread Chris Moore
That fixes it for me.Thanks a lot.Chris.On 1/24/06, Luc Teirlinck [EMAIL PROTECTED]
 wrote:Chris Moore wrote: My .emacs contains a single line: (dynamic-completion-mode)
 If the first thing I do upon starting Emacs is type: C-x C-f backspace then I see an error message: Error in pre-command-hook: (invalid-function ((quote use-completion-backward)))
I believe that the folowing patch should fix this.I can install ifdesired.===File ~/completion-diff===*** completion.el 02 Dec 2005 16:17:17 -06001.55
--- completion.el 24 Jan 2006 11:27:18 -0600** 82,88 ;;SAVING/LOADING COMPLETIONS;; Completions are automatically saved from one session to another;; (unless save-completions-flag or enable-completion is nil).
! ;; Activating this minor-mode calling completion-initialize) causes Emacs;; to load a completions database for a saved completions file;; (default: ~/.completions).When you exit, Emacs saves a copy of the
;; completions that you--- 82,88 ;;SAVING/LOADING COMPLETIONS;; Completions are automatically saved from one session to another;; (unless save-completions-flag or enable-completion is nil).
! ;; Activating this minor-mode (calling completion-initialize) causes Emacs;; to load a completions database for a saved completions file;; (default: ~/.completions).When you exit, Emacs saves a copy of the
;; completions that you** 2250,2262 TYPE is the type of the wrapper to be added.Can be :before or :under.(put function-name 'completion-function (cdr (assq type
! '((:separator 'use-completion-before-separator)! (:before 'use-completion-before-point)! (:backward-under 'use-completion-backward-under)! (:backward 'use-completion-backward)
! (:under 'use-completion-under-point)! (:under-or-before 'use-completion-under-or-before-point)! (:minibuffer-separator 'use-completion-minibuffer-separator))
(defun use-completion-minibuffer-separator ()(let ((completion-syntax-table completion-standard-syntax-table))--- 2250,2263 TYPE is the type of the wrapper to be added.Can be :before or :under.
(put function-name 'completion-function (cdr (assq type! '((:separator . use-completion-before-separator)! (:before . use-completion-before-point)! (:backward-under . use-completion-backward-under)
! (:backward . use-completion-backward)! (:under . use-completion-under-point)! (:under-or-before . use-completion-under-or-before-point)! (:minibuffer-separator
!. use-completion-minibuffer-separator))(defun use-completion-minibuffer-separator ()(let ((completion-syntax-table completion-standard-syntax-table))

___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


describe-function bad def value (nil) when not near a function name

2006-01-24 Thread Drew Adams
emacs -q

go to the empty *scratch* buffer, and do `C-h f', then do M-n at the
prompt. The default value you see is nil. The default value should be
nil, not nil.

Here's the code:

(defun describe-function (function)
  Display the full documentation of FUNCTION (a symbol).
  (interactive
   (let ((fn (function-called-at-point))
 (enable-recursive-minibuffers t)
 val)
 (setq val (completing-read
(if fn
(format Describe function (default %s):  fn)
  Describe function: )
obarray 'fboundp t nil nil (symbol-name fn)))
  ...

In this case, fn is nil, so (symbol-name fn) is nil - a bad default
value. Just use (and fn (symbol-name fn)).



In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2005-06-26 on NONIQPC
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc
(3.3) --cflags -I../../jpeg-6b-3/include -I../../libpng-1.2.8/include -I../.
./tiff-3.6.1-2/include -I../../xpm-nox-4.2.0/include -I../../zlib-1.2.2/incl
ude'



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


buggy defcustom in sendmail.el

2006-01-24 Thread T. V. Raman
Recent cvs updates have ended up leaving 
send-mail-function set to nil while running on the linux console.

Evaluating the form that is in the defcustom does yield the right
result, so I suspect some kind of bizarre autoloading bug.

(defcustom send-mail-function
  (if (and window-system (memq system-type '(darwin windows-nt)))
  'mailclient-send-it
'sendmail-send-it)
  Function to call to send the current buffer as mail.
The headers should be delimited by a line which is
not a valid RFC822 header or continuation line,
that matches the variable `mail-header-separator'.
This is used by the default mail-sending commands.  See also
`message-send-mail-function' for use with the Message package.
  :type '(radio (function-item sendmail-send-it :tag Use Sendmail package)
(function-item smtpmail-send-it :tag Use SMTPmail package)
(function-item feedmail-send-it :tag Use Feedmail package)
(function-item mailclient-send-it :tag Use Mailclient package)
function)
  :group 'sendmail)

-- 
Best Regards,
--raman

  
Email:  [EMAIL PROTECTED]
WWW:http://emacspeak.sf.net/raman/
AIM:emacspeak   GTalk: [EMAIL PROTECTED]
PGP:http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Range striding over charsets error in nxml-mode

2006-01-24 Thread Richard M. Stallman
nxml-validate-mode is not part of Emacs; you had better talk
with the developer of it.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug