unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: GARCIA Juan <comandante345@hotmail.com>
To: 10161@debbugs.gnu.org
Subject: bug#10161: 23.3; Autofill doesn't honour comment-multi-line variable
Date: Tue, 29 Nov 2011 08:52:58 +0000	[thread overview]
Message-ID: <DUB109-W85B2C5A5EF7FC57BFDE8FBE9B30@phx.gbl> (raw)


Hi everybody,

Autofill mode doesn't take into account the value of
'comment-multi-line' variable, filling inside a comment inserts a
newline within the comment (as it should if 'comment-multi-line' were
set to non-nil). However function 'comment-indent-new-line' does honour
this variable. To make bug appear, variable 'comment-multi-line' was
changed by using 'M-x set-variable' in a newly open c-file with one
comment line longer than 70 caracters, emacs was started with as
indicated ('emacs -Q'). Thank you!

Juan

In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6)
 of 2011-10-26 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11101902
configured using `configure  '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2''

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: fr_FR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-x C-f t o t o . c <return> <help-echo> M-; c o m 
m e n t SPC M-b C-SPC C-f C-f C-f C-f C-f C-f C-f C-f 
C-w C-y C-x z z z z z z z e C-_ C-y C-y M-q C-_ A-x 
M-s C-g M-x s e t SPC - a <backspace> <backspace> v 
a <tab> <return> x c o m <backspace> <backspace> <backspace> 
<backspace> c o m m <tab> m u <tab> <return> n i l 
<return> M-q C-_ C-b C-b C-b M-j M-j M-j M-j C-_ C-_ 
C-_ C-_ M-x c o m m e n <tab> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
s e t <backspace> <backspace> <backspace> <backspace> 
s e t SPC v a r i a b <tab> <return> c o m m <tab> 
m u <tab> <return> t <return> M-j M-j M-j M-j C-_ C-_ 
C-_ C-_ C-x C-s M-x s e t <backspace> <backspace> <backspace> 
r e p o <tab> r <tab> <return> <help-echo> C-g C-h 
v c o m m <tab> e <tab> m <tab> <return> C-h C-g M-x 
s e t SPC v a <tab> <return> c o m m <tab> m <tab> 
<return> n i l <return> M-x a u t SPC SPC f i l <tab> 
<return> SPC C-_ C-h v c o m m <tab> e <tab> m <tab> 
<return> M-x r e p o <tab> t <tab> <backspace> r <tab> 
<return>

Recent messages:
Mark set [2 times]
Undo! [10 times]
Saving file /home/garcia/toto.c...
Wrote /home/garcia/toto.c
Making completion list...
Quit
Making completion list...
Type C-x 1 to delete the help window.
Undo!
Making completion list... [2 times]

Load-path shadows:
/usr/local/share/emacs/site-lisp/info-look.20.3 hides /usr/share/emacs/23.3/site-lisp/gnuplot-mode/info-look.20.3
/usr/local/share/emacs/site-lisp/gnuplot-gui hides /usr/share/emacs/23.3/site-lisp/gnuplot-mode/gnuplot-gui
/usr/local/share/emacs/site-lisp/gnuplot hides /usr/share/emacs/23.3/site-lisp/gnuplot-mode/gnuplot
/usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.3/site-lisp/flim/sha1 hides /usr/share/emacs/23.3/lisp/sha1
/usr/share/emacs/23.3/site-lisp/flim/hex-util hides /usr/share/emacs/23.3/lisp/hex-util
/usr/share/emacs/23.3/site-lisp/flim/md4 hides /usr/share/emacs/23.3/lisp/md4
/usr/share/emacs/23.3/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell
/usr/share/emacs/23.3/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell
/usr/share/emacs/23.3/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.3/lisp/net/sasl-cram
/usr/share/emacs/23.3/site-lisp/flim/sasl hides /usr/share/emacs/23.3/lisp/net/sasl
/usr/share/emacs/23.3/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.3/lisp/net/sasl-digest
/usr/share/emacs/23.3/site-lisp/flim/hmac-def hides /usr/share/emacs/23.3/lisp/net/hmac-def
/usr/share/emacs/23.3/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.3/lisp/net/sasl-ntlm
/usr/share/emacs/23.3/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.3/lisp/net/hmac-md5
/usr/share/emacs/23.3/site-lisp/flim/ntlm hides /usr/share/emacs/23.3/lisp/net/ntlm

Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 sha1-el
hex-util hashcash mail-utils pp emacsbug help-mode view cus-edit
cus-start cus-load wid-edit help-fns repeat newcomment cc-mode cc-fonts
easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
 		 	   		  




             reply	other threads:[~2011-11-29  8:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  8:52 GARCIA Juan [this message]
2020-12-07 17:31 ` bug#10161: 23.3; Autofill doesn't honour comment-multi-line variable Lars Ingebrigtsen
2021-01-20 17:07   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB109-W85B2C5A5EF7FC57BFDE8FBE9B30@phx.gbl \
    --to=comandante345@hotmail.com \
    --cc=10161@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).