GNU bug report logs -
#468
longline mode and flyspell fails when type backspace
Previous Next
Reported by: Marco Pessotto <melmothx <at> gmail.com>
Date: Mon, 23 Jun 2008 07:25:05 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 468 in the body.
You can then email your comments to 468 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#468
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Marco Pessotto <melmothx <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Longlines-mode fails using the backspace at the beginning of a line
(with a soft newline at the end of the previous line). It give the
message Error in post-command-hook: (wrong-type-argument integerp
nil). This disables the longlines-mode's auto-wrapping and the font
lock of flyspell.
In GNU Emacs 22.2.1 (i486-slackware-linux-gnu, GTK+ Version 2.12.9) of
2008-04-14 on midas Windowing system distributor `The X.Org
Foundation', version 11.0.10400090 configured using `configure
'--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var'
'--program-prefix=' '--program-suffix=' '--mandir=/usr/man'
'--infodir=/usr/info' '--enable-static=no' '--enable-shared=yes'
'--with-x' '--with-x-toolkit=gtk' '--build=i486-slackware-linux'
'build_alias=i486-slackware-linux' 'CFLAGS=-O2 -march=i486
-mtune=i686''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: it_IT.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
show-paren-mode: t
desktop-save-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
i SPC q u a n t o SPC a v e t e SPC f a t t o SPC f
i n o r a , SPC =8e8 SPC n e c e s s a r i o SPC c h e
SPC i n d i r i z z i t a <backspace> <backspace> a
t e SPC i SPC v o s t r i SPC s v o r i d <backspace>
<backspace> <backspace> <backspace> <backspace> f o
r <backspace> z i <backspace> <backspace> r z i SPC
M-b M-b M-b t u t t i SPC M-f M-f M-f M-f <backspace>
<backspace> <backspace> , SPC i n c o r a g g i a t
i SPC d a l l a SPC p a r o l a SPC d i SPC SPC D <backspace>
<backspace> D i o , SPC a d SPC u n ' a l t r a M-b
M-b M-f <backspace> M-f M-f SPC o p e r a SPC p i a
. . . SPC I SPC T u r c h i SPC <backspace> , SPC u
n SPC p o p o l o SPC d i SPC o r i g i n e SPC p e
r s i a n a , SPC t e n <M-backspace> t e <backspace>
<backspace> a l l e SPC f r o n t i e r r e SPC d <backspace>
<backspace> <backspace> C-x b * m e <tab> s <tab> <backspace>
<backspace> <backspace> M e <tab> <return> M-x g b
u <backspace> <backspace> u b <tab> <backspace> <backspace>
<backspace> b u <tab> g <tab> - <tab> <backspace> <backspace>
<backspace> <backspace> r e p <tab> o <tab> r <tab>
<return>
Recent messages:
Auto-saving...done
Starting Firefox...
Auto-saving...done
Corrections: mante rene mante rene mante-rene mantene materne mantenente manterrete
Corrections: mante-rene mantene materne mantenente manterrete lanterne mantenne mantiene
Corrections: mantene materne mantenente manterrete lanterne mantenne mantiene materane
Auto-saving...done
Error in post-command-hook: (wrong-type-argument integerp nil)
Making completion list... [3 times]
Loading emacsbug...done
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#468
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at 468 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Longlines-mode fails using the backspace at the beginning of a line
> (with a soft newline at the end of the previous line). It give the
> message Error in post-command-hook: (wrong-type-argument integerp
> nil). This disables the longlines-mode's auto-wrapping and the font
> lock of flyspell.
I can't reproduce this. Please provide a detailed recipe for
reproducing this bug, beginning with "emacs -Q".
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#468
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Marco Pessotto <melmothx <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #15 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
>> Longlines-mode fails using the backspace at the beginning of a line
>> (with a soft newline at the end of the previous line). It give the
>> message Error in post-command-hook: (wrong-type-argument integerp
>> nil). This disables the longlines-mode's auto-wrapping and the font
>> lock of flyspell.
>
> I can't reproduce this. Please provide a detailed recipe for
> reproducing this bug, beginning with "emacs -Q".
emacs -Q
;; please paste this line:
i i Turchi spezzano la resistenza a sud i resiste solo Clissa (difesa
;; to get the "right" lenght of the line
M-x text-mode
M-x flyspell-mode
M-x longline-mode
type <space> and 2 letters
<backspace> <backspace> => error (it can't go to the previous line without
error
=> long-line doesn't wrap lines anymore, flyspell lost fontifycation...
It needs a restart both of longlines and flyspell
Regards
Marco
In GNU Emacs 22.2.1 (i486-slackware-linux-gnu, GTK+ Version 2.12.9)
of 2008-04-14 on midas
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--program-prefix=' '--program-suffix=' '--mandir=/usr/man' '--infodir=/usr/info' '--enable-static=no' '--enable-shared=yes' '--with-x' '--with-x-toolkit=gtk' '--build=i486-slackware-linux' 'build_alias=i486-slackware-linux' 'CFLAGS=-O2 -march=i486 -mtune=i686''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: it_IT.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:
longlines-mode: t
flyspell-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
use-hard-newlines: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
<down-mouse-1> <mouse-1> C-y M-x t e x t <tab> <return>
M-x f l y s p <tab> m o <tab> <return> M-x l o n g
<tab> <return> SPC d k <backspace> <backspace> <down-mouse-1>
<mouse-1> M-x l o <backspace> <backspace> e m a c s
- b <tab> u <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
r e p <tab> o r t <tab> <return>
Recent messages:
Mark set
Loading flyspell...done
Loading regexp-opt...done
Starting new Ispell process [default] ...
Loading longlines...done
Longlines mode enabled
Error in post-command-hook: (wrong-type-argument integerp nil)
Making completion list...
Loading help-mode...done
Loading emacsbug...done
Reply sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
Marco Pessotto <melmothx <at> gmail.com>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #20 received at 468-done <at> emacsbugs.donarmstrong.com (full text, mbox):
I've checked in a fix. Thanks.
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 24 Sep 2008 14:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.