Your message dated Mon, 20 Dec 2010 19:42:35 +0100
with message-id <[email protected]>
and subject line Re: Bug#603207: emacs23: opening a file requires two attempts
has caused the Debian Bug report #603207,
regarding emacs23: opening a file requires two attempts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
603207: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603207
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs23
Version: 23.2+1-4
Severity: normal


Hi,

when I see a directory listing in emacs and want to edit a certain file,
I position the cursor in that row and hit enter. For about any file I've
tried so far, emacs has started to require two attempts to load the
file. I don't know when this started, but it wasn't this way in earlier
days. Anyway, here is what I get when I want to load a file:

Debugger entered--Lisp error: (wrong-number-of-arguments set-buffer-multibyte 0)
  (set-buffer-multibyte)
  (lambda nil (setq case-fold-search t) (setq x-symbol-8bits t) 
(set-background-color "beige") (set-cursor-color "Red") (set-mouse-color 
"Navy") (set-buffer-multibyte) (set-fill-column 70) (auto-fill-mode 1) 
(auto-fill-mode 1) (outline-minor-mode 1))()
  run-hooks(text-mode-hook sgml-mode-hook)
  sgml-mode()
  html-mode()
  set-auto-mode-0(html-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer base.html> 
"~/django/ftpadmin/templates/base.html" nil nil 
"/home/django/ftpadmin/templates/base.html" (32188423 64777))
  find-file-noselect("/home/toni/django/ftpadmin/templates/base.html" nil nil 
nil)
  find-file("/home/toni/django/ftpadmin/templates/base.html")
  dired-find-file()
  call-interactively(dired-find-file nil nil)


In that case, I Ctrl-] to leave the debugger, which positions my cursor
on said file again. Then I press enter for the second time, and emacs
loads the file into a buffer.


Kind regards,
--Toni++



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (250, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs23 depends on:
ii  emacs23-bin-common      23.2+1-4         The GNU Emacs editor's shared, arc
ii  libasound2              1.0.23-1         shared library for ALSA applicatio
ii  libatk1.0-0             1.30.0-1         The ATK accessibility toolkit
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libcairo2               1.8.10-4         The Cairo 2D vector graphics libra
ii  libdbus-1-3             1.2.24-3         simple interprocess messaging syst
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.2-1          FreeType 2 font engine, shared lib
ii  libgconf2-4             2.28.1-3         GNOME configuration database syste
ii  libgif4                 4.1.6-9          library for GIF images (library)
ii  libglib2.0-0            2.24.1-1         The GLib library of C routines
ii  libgpm2                 1.20.4-3.3       General Purpose Mouse - shared lib
ii  libgtk2.0-0             2.20.1-1         The GTK+ graphical user interface 
ii  libice6                 2:1.0.6-1        X11 Inter-Client Exchange library
ii  libjpeg62               6b1-1            The Independent JPEG Group's JPEG 
ii  libm17n-0               1.6.1-1          a multilingual text processing lib
ii  libncurses5             5.7+20100313-2   shared libraries for terminal hand
ii  libotf0                 0.9.11-1         A Library for handling OpenType Fo
ii  libpango1.0-0           1.28.1-1         Layout and rendering of internatio
ii  libpng12-0              1.2.44-1         PNG library - runtime
ii  librsvg2-2              2.26.3-1         SAX-based renderer library for SVG
ii  libsm6                  2:1.1.1-1        X11 Session Management library
ii  libtiff4                3.9.4-2          Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.3.3-3        X11 client-side library
ii  libxft2                 2.1.14-2         FreeType-based font drawing librar
ii  libxpm4                 1:3.5.8-1        X11 pixmap library
ii  libxrender1             1:0.9.6-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

emacs23 recommends no packages.

Versions of packages emacs23 suggests:
ii  emacs23-common-non-dfsg       23.2+1-1   GNU Emacs shared, architecture ind

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi,

On Fri, 19.11.2010 at 19:26:34 -0600, Rob Browning <[email protected]> 
wrote:
> Toni Mueller <[email protected]> writes:
> > when I see a directory listing in emacs and want to edit a certain file,
> > I position the cursor in that row and hit enter. For about any file I've
> > tried so far, emacs has started to require two attempts to load the
> > file. I don't know when this started, but it wasn't this way in earlier
> > days. Anyway, here is what I get when I want to load a file:
> 
> Does this still happen if you launch emacs via "emacs -q", "emacs
> --no-site-file", or "emacs -Q"?
> 
> If it does, then the problem may be due to something in your .emacs file
> (if -q fixes it), or some emacs-related package you've installed (if
> --no-site-file or -Q fixes it).

I suppose that this was again a case of PEBKAC. :(

I've fixed my ~/.emacs, and the problem seems to have gone...



Kind regards,
--Toni++



--- End Message ---

Reply via email to