bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inserting a comment into a blank line for nroff (M-;)


From: Allan Gottlieb
Subject: inserting a comment into a blank line for nroff (M-;)
Date: Thu, 25 Oct 2007 11:46:09 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

***Have some troff/nroff input say

This is some troff input and
you want a comment between the line.

***You open a blank line to give

This is some troff input and

you want a comment between the line.

then you go to the blank line and type M-; giving

This is some troff input and
\" 
you want a comment between the line.

This is bad since the comment line acts as a blank line which gives a
.sp 1
leaving a blank line.

Instead of \" when a comment is inserted into an empty line
nroff-mode should insert
'\"   (or perhaps .\")

Thanks for emacs.
allan gottlieb
New York University

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.1/etc/DEBUG for instructions.


In GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.10.14)
 of 2007-08-29 on ajglap
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--prefix=/usr' '--host=i686-pc-linux-gnu' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' 
'--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-22' 
'--infodir=/usr/share/info/emacs-22' '--without-carbon' '--with-sound' 
'--with-x' '--with-xpm' '--with-toolkit-scroll-bars' '--with-jpeg' 
'--with-tiff' '--without-gif' '--with-png' '--with-x-toolkit=gtk' 
'--without-hesiod' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe''

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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Nroff

Minor modes in effect:
  nroff-electric-mode: t
  flyspell-mode: t
  iswitchb-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  mouse-wheel-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
  transient-mark-mode: t

Recent input:
<select-window> <help-echo> <help-echo> <help-echo> 
<help-echo> M-x g n u s <return> SPC q <return> <C-end> 
p p E p p E q SPC q s C-x C-f c o u r s e s / a r c 
h / e x a m s / m i d / 2 0 0 7 - 0 8 SPC SPC SPC <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> . SPC <return> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> C-o M-\ M-; <left> 
<left> <left> ' <end> <left> <left> <left> <backspace> 
<end> S h o u l d SPC m a k e SPC c l e a r SPC i t 
SPC i s SPC p l a - s t y l e SPC o r SPC d i s j SPC 
n o r m SPC f o r m C-x C-s M-x t r o f f - p r e <return> 
C-a ' C-x C-s C-x <escape> <escape> <prior> <backspace> 
C-/ <return> C-x <escape> <escape> <up> <return> <backspace> 
. C-x <escape> <escape> <return> M-x a p r <return> 
b u g <return> C-x o C-s e m a c s C-s C-s C-x 0 M-x 
r e p o r t - e m a c s SPC SPC <return>

Recent messages:
Starting new Ispell process [default] ...
Loading nroff-mode...done
Loading newcomment...done
Wrote /home/gottlieb/courses/arch/exams/mid/2007-08f.me
(Shell command succeeded with no output)
Wrote /home/gottlieb/courses/arch/exams/mid/2007-08f.me
(Shell command succeeded with no output) [2 times]
Loading apropos...done
Mark saved where search started
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]