Bug#471143: emacs22-gtk: Destop does not remember the dictionary

2008-03-16 Thread Christophe Troestler
Package: emacs22-gtk
Version: 22.1+1-2.3
Severity: wishlist

When using desktop-save-mode to remember the buffers accross Emacs
runs, the .emacs.desktop desktop file does not record the current
dictionary for the buffer (changes with ispell-change-dictionary).
It would be nice if it did.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23.14 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-gtk depends on:
ii  emacs22-bin-common 22.1+1-2.3The GNU Emacs editor's shared, arc
ii  libatk1.0-01.20.0-1  The ATK accessibility toolkit
ii  libc6  2.7-6 GNU C Library: Shared libraries
ii  libcairo2  1.4.14-1  The Cairo 2D vector graphics libra
ii  libfontconfig1 2.5.0-2   generic font configuration library
ii  libglib2.0-0   2.14.6-1  The GLib library of C routines
ii  libgtk2.0-02.12.5-2  The GTK+ graphical user interface 
ii  libice62:1.0.4-1 X11 Inter-Client Exchange library
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libncurses55.6+20080203-1Shared libraries for terminal hand
ii  libpango1.0-0  1.18.4-1  Layout and rendering of internatio
ii  libpng12-0 1.2.15~beta5-3PNG library - runtime
ii  libsm6 2:1.0.3-1+b1  X11 Session Management library
ii  libtiff4   3.8.2-7   Tag Image File Format (TIFF) libra
ii  libungif4g 4.1.4-5+b1shared library for GIF images
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxft22.1.12-2  FreeType-based font drawing librar
ii  libxpm41:3.5.7-1 X11 pixmap library
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

emacs22-gtk recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#471143: emacs22-gtk: Destop does not remember the dictionary

2008-03-16 Thread Sven Joachim
On 2008-03-16 10:52 +0100, Christophe Troestler wrote:

 When using desktop-save-mode to remember the buffers accross Emacs
 runs, the .emacs.desktop desktop file does not record the current
 dictionary for the buffer (changes with ispell-change-dictionary).
 It would be nice if it did.

That feature had been proposed upstream already, you can see it in the
thread starting at [1].  It seems that no conclusion has been reached so
far, so you have to do it yourself: Put

(add-to-list 'desktop-locals-to-save
 'ispell-local-dictionary)

in your .emacs, and you're done. :-)  BTW, in most cases you probably
want to set ispell-local-dictionary permanently in your files instead.

Regards,
Sven


[1] http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01635.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]