Hello,

The enclosed bug report sent to the Debian bug tracking system is of interest
to you.  It indicates that bar-cursor.el needs some changes to
interoperate with CVS Emacs (Version 22).

Would you be interested in updating your code?

If the code is no longer of interest to you, I'll either update it for
Debian (a fork), or I will simply not include it for use with Emacs-22.
But plesae let us know either way.

Please keep [EMAIL PROTECTED] in the CC list to archive the
excahnges at http://bugs.debian.org/331430

Here's hoping that you update the code!  :-)
-- 
Peter S. Galbraith, Debian Developer          <[EMAIL PROTECTED]>
                                 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E

--- Begin Message ---
Package: emacs-goodies-el
Version: 24.15-2
Severity: normal

There is an annoying problem with the library bar-cursor.el.  Just
loading the bar-cursor library (e.g. when creating the customization
buffer for the variable bar-cursor-mode) will change the cursor of the
selected frame to a hollow box in emacs-snapshot (not in emacs21).

I have an explanation for this undesired behaviour.  The defcustom
macro at the end of bar-cursor.el calls the function
bar-cursor-change, which will in turn modify the frame parameters and
set cursor-type to 'block.  In Emacs 22, the variable cursor-type has
changed and has now the following possible values:

  t               use the cursor specified for the frame
  nil             don't display a cursor
  box             display a filled box cursor
  hollow          display a hollow box cursor
  bar             display a vertical bar cursor with default width
  (bar . WIDTH)   display a vertical bar cursor with width WIDTH
  hbar            display a horizontal bar cursor with default height
  (hbar . HEIGHT) display a horizontal bar cursor with height HEIGHT
  ANYTHING ELSE   display a hollow box cursor

A lot of possible values, but "block" is not among them.

IMHO, what bar-cursor-mode would need to do is to take these values
into account, save the frame's parameter for the cursor type when
turning bar-cursor-mode on and restore it when turning it off.

At least for GNU Emacs 21 and 22 (I don't know about XEmacs), it seems
to me that a better solution should be possible.  Using the variable
'cursor-type', which is buffer-local and overrides the frame's
parameter for the cursor, bar-cursor-mode could be turned on and off
for each buffer individually, which would be a great improvement.
Food for the upstream author, I think!


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (3, 'testing'), (2, 
'unstable'), (1, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.31
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages emacs-goodies-el depends on:
ii  bash                        3.0-16       The GNU Bourne Again SHell
ii  emacs-snapshot [emacsen]    1:20050929-1 The GNU Emacs editor (development
ii  emacs21 [emacsen]           21.4a-1      The GNU Emacs editor

Versions of packages emacs-goodies-el recommends:
pn  dict                          <none>     (no description available)
ii  perl-doc                      5.8.7-5    Perl documentation
ii  wget                          1.10.1-1   retrieves files from the web

-- no debconf information







--- End Message ---

Reply via email to