From unknown Mon Jun 23 16:45:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15124 <15124@debbugs.gnu.org> To: bug#15124 <15124@debbugs.gnu.org> Subject: Status: 24.2; comment indentation functions are messed up Reply-To: bug#15124 <15124@debbugs.gnu.org> Date: Mon, 23 Jun 2025 23:45:20 +0000 retitle 15124 24.2; comment indentation functions are messed up reassign 15124 emacs,cc-mode submitter 15124 =C5=81ukasz Stelmach severity 15124 normal tag 15124 unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 18 14:19:37 2013 Received: (at submit) by debbugs.gnu.org; 18 Aug 2013 18:19:37 +0000 Received: from localhost ([127.0.0.1]:38797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VB7Zd-0001sl-LC for submit@debbugs.gnu.org; Sun, 18 Aug 2013 14:19:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54510) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VB1DN-0007P5-4h for submit@debbugs.gnu.org; Sun, 18 Aug 2013 07:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VB1DB-00067F-K7 for submit@debbugs.gnu.org; Sun, 18 Aug 2013 07:32:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB1DB-00067B-Ha for submit@debbugs.gnu.org; Sun, 18 Aug 2013 07:31:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB1D4-0002aD-UE for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2013 07:31:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VB1Cw-000649-BK for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2013 07:31:50 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.207]:56419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB1Cv-00063F-Ou for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2013 07:31:42 -0400 Received: from localhost (89-77-18-4.dynamic.chello.pl [89.77.18.4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by www.poczta.fm (INTERIA.PL) with ESMTPSA for ; Sun, 18 Aug 2013 13:31:37 +0200 (CEST) From: =?utf-8?Q?=C5=81ukasz?= Stelmach To: bug-gnu-emacs@gnu.org Subject: 24.2; comment indentation functions are messed up X-Hashcash: 1:24:130818:bug-gnu-emacs@gnu.org::TFTNZ65va+vkSatk:0Ewnc Date: Sun, 18 Aug 2013 13:31:37 +0200 Message-ID: <874nan5j6u.fsf%stlman@poczta.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1376825498; bh=TY9ITx+YGnzjc1z9ii/qN/iPborTYXwvzhd94zSB9TQ=; h=Received:Received:From:To:Subject:X-Hashcash:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding: X-Interia-Antivirus; b=MvdhvPULcJg7GZtlN7e+lMaJjm/2zYvahM+m/lZfDZyB9IcDstmTI8+pTh4k0JkvF RahEuAlS0c23Bv6Z9FWm2vfSE5q2dh1aRQG0mQlWJzS/DZ8GkuAn+l7OYqoJGKYMBN 5jsJsB2qN+ZWXXmzMJpNy0kV8l/9nlWoQPpM8NCY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 18 Aug 2013 14:19:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I've got some problems with making my Emacs insert " *" at the beginning of a new line of a comment block in cc-mode. I have found what looks like a little mess-up. 1. M-j is bound to indent-new-comment-line (an alias for comment-indent-new-line). Comments at the beginning of the newcomment.el files say support for consulting c-comment-line-break-function is yet to be developed. 2. cc-mode augments (cc-cmds.el) indent-new-comment-line to use c-indent-new-comment-line unless comment-line-break-function is bound. 3. This variable is defined and set in simple.el and used in default-indent-new-line. This however is is not bound to any key so setting it to c-indent-new-comment-line in a mode hook won't help. In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12) of 2013-03-03 on kotik Windowing system distributor `The X.Org Foundation', version 11.0.11301000 Configured using: `configure '--prefix=3D/usr' '--build=3Dx86_64-pc-linux-gnu' '--host=3Dx86_64-pc-linux-gnu' '--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--datadir=3D/usr/share' '--sysconfdir=3D/et= c' '--localstatedir=3D/var/lib' '--libdir=3D/usr/lib64' '--disable-dependency-tracking' '--program-suffix=3D-emacs-24' '--infodir=3D/usr/share/info/emacs-24' '--enable-locallisppath=3D/etc/emacs:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64' '--with-gameuser=3Dgames' '--without-compress-info' '--disable-maintainer-mode' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--with-gnutls' '--without-xml2' '--without-selinux' '--without-wide-int' '--with-sound' '--with-x' '--without-ns' '--without-gconf' '--without-gsettings' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-imagemagick' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=3Dgtk' 'GENTOO_PACKAGE=3Dapp-editors/emacs-24.2-r1' 'build_alias=3Dx86_64-pc-linux-gnu' 'host_alias=3Dx86_64-pc-linux-gnu' 'CFLAGS=3D-march=3Dnocona -O2 -pipe' 'LDFLAGS=3D-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=3D'' 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: pl_PL.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: jabber-activity-mode: t 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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-SPC C-SPC C-SPC M-w=20 M-: C-y M-: c o=20 m m e C-g M-: c=20 o m m e n t - l i M-: C-a C-k C-g=20 C-h v C-y C-x o C-x o C-x o C-x o C-x o =20 M-: c o m m e - l i o =20 C-a ( s e t q SPC C-e SPC ' c - i=20 n d - n ) C-k C-x o C-x b =20 M-: C-y M-: C-y C-a s e t q SPC C-a * =20 ) ( C-e C-a C-d C-e SPC ' c - i n=20 d - n ) =20 M-j c C-x o C-h v C-x o=20 C-x o C-x o C-x b n e w =20 C-s c o m m e n t - =3D l i n e C-s - b r=20 r e e a k - f u C-s C-s =20 M-: u =20 M-( u n b C-a C-k C-x o C-x o C-x o C-g =20 C-x b b =20 M-: M-: ( u n l e s s=20 SPC C-e SPC " a " ) =20 M-f M-f M-f M-f M-f=20 M-f C-x C-e q C-x C-g C-x C-e C-x=20 C-e =20 =20 M-j =20 M-x r e p o r Recent messages: Mark saved where search started Quit t nil Entering debugger... Back to top level. c-inside-line-break-advice indent-new-comment-line Auto-saving...done Making completion list... Load-path shadows: ~/.emacs.d/ledger hides /usr/share/emacs/site-lisp/ledger/ledger ~/.local/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/site-= lisp/org/org-install ~/.local/share/emacs/site-lisp/org/org-gnus hides /usr/share/emacs/site-lis= p/org/org-gnus ~/.local/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/site-lisp/o= rg/ob-js ~/.local/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/site-li= sp/org/ob-comint ~/.local/share/emacs/site-lisp/org/org-bibtex hides /usr/share/emacs/site-l= isp/org/org-bibtex ~/.local/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/site= -lisp/org/org-entities ~/.local/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/site-li= sp/org/org-crypt ~/.local/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/site-= lisp/org/org-capture ~/.local/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/site-= lisp/org/ob-lilypond ~/.local/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/site-lisp= /org/ob-lisp ~/.local/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/site-lisp= /org/ob-calc ~/.local/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/site-li= sp/org/org-table ~/.local/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/site-l= isp/org/ob-clojure ~/.local/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/site-li= sp/org/ob-ledger ~/.local/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/site= -lisp/org/org-footnote ~/.local/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/site-lisp/= org/ob-css ~/.local/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/sit= e-lisp/org/ob-emacs-lisp ~/.local/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/site-lisp= /org/ob-java ~/.local/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/site-lisp/= org/ob-exp ~/.local/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/site-lisp/= org/ob-sql ~/.local/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/site-lisp/= org/ob-lob ~/.local/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/site-lis= p/org/ob-table ~/.local/share/emacs/site-lisp/org/org hides /usr/share/emacs/site-lisp/org= /org ~/.local/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/site-l= isp/org/ob-haskell ~/.local/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/site-li= sp/org/org-mouse ~/.local/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/si= te-lisp/org/org-inlinetask ~/.local/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/site-lisp/or= g/ob-C ~/.local/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/site-lisp/= org/ob-dot ~/.local/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/site-lis= p/org/ob-ditaa ~/.local/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/site-li= sp/org/ob-maxima ~/.local/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/site-lisp= /org/ob-sass ~/.local/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/site= -lisp/org/ob-asymptote ~/.local/share/emacs/site-lisp/org/org-bbdb hides /usr/share/emacs/site-lis= p/org/org-bbdb ~/.local/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/site-= lisp/org/ob-picolisp ~/.local/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/site-l= isp/org/org-mobile ~/.local/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/site-lis= p/org/org-list ~/.local/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/site-lisp/= org/org-id ~/.local/share/emacs/site-lisp/org/org-irc hides /usr/share/emacs/site-lisp= /org/org-irc ~/.local/share/emacs/site-lisp/org/org-element hides /usr/share/emacs/site-= lisp/org/org-element ~/.local/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/site-li= sp/org/ob-tangle ~/.local/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/sit= e-lisp/org/org-pcomplete ~/.local/share/emacs/site-lisp/org/org-mhe hides /usr/share/emacs/site-lisp= /org/org-mhe ~/.local/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/site-li= sp/org/org-ctags ~/.local/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/site-lisp/= org/ob-org ~/.local/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/site-l= isp/org/org-attach ~/.local/share/emacs/site-lisp/org/ob-io hides /usr/share/emacs/site-lisp/o= rg/ob-io ~/.local/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/site-= lisp/org/org-archive ~/.local/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/site-li= sp/org/org-timer ~/.local/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/site-lisp= /org/ob-perl ~/.local/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/site-li= sp/org/ob-scheme ~/.local/share/emacs/site-lisp/org/ob-keys hides /usr/share/emacs/site-lisp= /org/ob-keys ~/.local/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/site-lisp= /org/org-src ~/.local/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/site-li= sp/org/ob-python ~/.local/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/site-l= isp/org/org-agenda ~/.local/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/site-li= sp/org/ob-screen ~/.local/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/site-lisp/or= g/ob-R ~/.local/share/emacs/site-lisp/org/ob-sh hides /usr/share/emacs/site-lisp/o= rg/ob-sh ~/.local/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/site-lisp= /org/ob-shen ~/.local/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/site-lis= p/org/ob-latex ~/.local/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/site-lisp= /org/ob-eval ~/.local/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/site-l= isp/org/ob-gnuplot ~/.local/share/emacs/site-lisp/org/ob hides /usr/share/emacs/site-lisp/org/= ob ~/.local/share/emacs/site-lisp/org/org-rmail hides /usr/share/emacs/site-li= sp/org/org-rmail ~/.local/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/site-lis= p/org/ob-ocaml ~/.local/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/site-lisp= /org/ob-ruby ~/.local/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/site-l= isp/org/org-indent ~/.local/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/site-lisp/= org/ob-ref ~/.local/share/emacs/site-lisp/org/org-version hides /usr/share/emacs/site-= lisp/org/org-version ~/.local/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/site-lis= p/org/org-feed ~/.local/share/emacs/site-lisp/org/org-w3m hides /usr/share/emacs/site-lisp= /org/org-w3m ~/.local/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/site= -lisp/org/org-datetree ~/.local/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/site-li= sp/org/org-clock ~/.local/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/site-= lisp/org/ob-plantuml ~/.local/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/site= -lisp/org/org-protocol ~/.local/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/site-= lisp/org/org-colview ~/.local/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/site-li= sp/org/ob-sqlite ~/.local/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/site-lis= p/org/org-plot ~/.local/share/emacs/site-lisp/org/org-info hides /usr/share/emacs/site-lis= p/org/org-info ~/.local/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/site-lisp/= org/ob-awk ~/.local/share/emacs/site-lisp/org/org-eshell hides /usr/share/emacs/site-l= isp/org/org-eshell ~/.local/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/site-li= sp/org/org-faces ~/.local/share/emacs/site-lisp/org/org-docview hides /usr/share/emacs/site-= lisp/org/org-docview ~/.local/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/site-li= sp/org/ob-matlab ~/.local/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/site-lis= p/org/org-macs ~/.local/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/site-li= sp/org/ob-mscgen ~/.local/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/site-l= isp/org/ob-fortran ~/.local/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/site-l= isp/org/org-compat ~/.local/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/site-li= sp/org/ob-octave ~/.local/share/emacs/site-lisp/org/ob-scala hides /usr/share/emacs/site-lis= p/org/ob-scala ~/.local/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/site-li= sp/org/org-habit /usr/share/emacs/site-lisp/ruby-mode/ruby-mode hides /usr/share/emacs/24.2/= lisp/progmodes/ruby-mode ~/.local/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/24.2/li= sp/org/org-mouse ~/.local/share/emacs/site-lisp/org/org-gnus hides /usr/share/emacs/24.2/lis= p/org/org-gnus ~/.local/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/24.2/lisp/= org/ob-css /usr/share/emacs/site-lisp/org/org-latex hides /usr/share/emacs/24.2/lisp/o= rg/org-latex ~/.local/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/24.2/li= sp/org/ob-comint /usr/share/emacs/site-lisp/org/org-taskjuggler hides /usr/share/emacs/24.2/= lisp/org/org-taskjuggler ~/.local/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/24.= 2/lisp/org/org-pcomplete ~/.local/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/24.2/lis= p/org/ob-ditaa ~/.local/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/24.2/li= sp/org/org-crypt ~/.local/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/24.2/= lisp/org/org-capture ~/.local/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/24.2/lisp= /org/ob-sass ~/.local/share/emacs/site-lisp/org/org-eshell hides /usr/share/emacs/24.2/l= isp/org/org-eshell /usr/share/emacs/site-lisp/org/org-publish hides /usr/share/emacs/24.2/lisp= /org/org-publish ~/.local/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/24.2/= lisp/org/ob-lilypond ~/.local/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/24.2/lisp= /org/ob-lisp ~/.local/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/24.2/lis= p/org/ob-table ~/.local/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/24.2/l= isp/org/ob-clojure ~/.local/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/24.2/li= sp/org/ob-ledger ~/.local/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/24.2= /lisp/org/org-footnote ~/.local/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/24.2/lisp= /org/ob-java ~/.local/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/24.2/lisp/= org/ob-exp ~/.local/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/24.2/lisp/= org/ob-lob ~/.local/share/emacs/site-lisp/org/org hides /usr/share/emacs/24.2/lisp/org= /org ~/.local/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/24.2/l= isp/org/ob-haskell ~/.local/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/24= .2/lisp/org/org-inlinetask ~/.local/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/24.2/lisp/or= g/ob-C ~/.local/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/24.2= /lisp/org/ob-asymptote ~/.local/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/24.2/lisp/or= g/ob-R ~/.local/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/24.2/li= sp/org/org-timer ~/.local/share/emacs/site-lisp/org/org-bbdb hides /usr/share/emacs/24.2/lis= p/org/org-bbdb ~/.local/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/24.2/lisp/= org/ob-ref ~/.local/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/24.2/li= sp/org/ob-tangle ~/.local/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/24.2/= lisp/org/org-archive ~/.local/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/24.2/= lisp/org/ob-picolisp ~/.local/share/emacs/site-lisp/org/org-bibtex hides /usr/share/emacs/24.2/l= isp/org/org-bibtex ~/.local/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/24.2= /lisp/org/org-datetree ~/.local/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/24.2/l= isp/org/org-mobile ~/.local/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/24.2/li= sp/org/org-habit ~/.local/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/24.2/lis= p/org/org-list /usr/share/emacs/site-lisp/org/org-remember hides /usr/share/emacs/24.2/lis= p/org/org-remember ~/.local/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/24.2/= lisp/org/ob-plantuml ~/.local/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/24.2/lisp/= org/ob-dot ~/.local/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/24.2/lisp/o= rg/ob-js ~/.local/share/emacs/site-lisp/org/org-rmail hides /usr/share/emacs/24.2/li= sp/org/org-rmail ~/.local/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/24.2/lisp/= org/org-id ~/.local/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/24.2/= lisp/org/org-install ~/.local/share/emacs/site-lisp/org/org-info hides /usr/share/emacs/24.2/lis= p/org/org-info ~/.local/share/emacs/site-lisp/org/org-irc hides /usr/share/emacs/24.2/lisp= /org/org-irc /usr/share/emacs/site-lisp/org/org-freemind hides /usr/share/emacs/24.2/lis= p/org/org-freemind ~/.local/share/emacs/site-lisp/org/org-mhe hides /usr/share/emacs/24.2/lisp= /org/org-mhe ~/.local/share/emacs/site-lisp/org/ob hides /usr/share/emacs/24.2/lisp/org/= ob ~/.local/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/24.2/lisp/= org/ob-org /usr/share/emacs/site-lisp/org/org-odt hides /usr/share/emacs/24.2/lisp/org= /org-odt ~/.local/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/24.2/l= isp/org/org-attach /usr/share/emacs/site-lisp/org/org-docbook hides /usr/share/emacs/24.2/lisp= /org/org-docbook ~/.local/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/24.2/li= sp/org/ob-maxima ~/.local/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/24.2/lisp= /org/org-src /usr/share/emacs/site-lisp/org/org-wl hides /usr/share/emacs/24.2/lisp/org/= org-wl ~/.local/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/24.2/li= sp/org/ob-mscgen ~/.local/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/24.2/l= isp/org/org-agenda ~/.local/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/24.2/lisp= /org/ob-perl ~/.local/share/emacs/site-lisp/org/ob-sh hides /usr/share/emacs/24.2/lisp/o= rg/ob-sh ~/.local/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/24.2/lisp/= org/ob-sql /usr/share/emacs/site-lisp/org/org-icalendar hides /usr/share/emacs/24.2/li= sp/org/org-icalendar /usr/share/emacs/site-lisp/org/org-mew hides /usr/share/emacs/24.2/lisp/org= /org-mew ~/.local/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/24.2/l= isp/org/ob-gnuplot ~/.local/share/emacs/site-lisp/org/org-w3m hides /usr/share/emacs/24.2/lisp= /org/org-w3m /usr/share/emacs/site-lisp/org/org-lparse hides /usr/share/emacs/24.2/lisp/= org/org-lparse ~/.local/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/24.2/li= sp/org/ob-sqlite /usr/share/emacs/site-lisp/org/org-exp-blocks hides /usr/share/emacs/24.2/l= isp/org/org-exp-blocks ~/.local/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/24.2/li= sp/org/org-ctags ~/.local/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/24.2/= lisp/org/org-colview /usr/share/emacs/site-lisp/org/org-ascii hides /usr/share/emacs/24.2/lisp/o= rg/org-ascii ~/.local/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/24.2/lis= p/org/ob-ocaml ~/.local/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/24.2= /lisp/org/org-protocol ~/.local/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/24.2/lisp= /org/ob-calc ~/.local/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/24.2/l= isp/org/org-indent /usr/share/emacs/site-lisp/org/org-beamer hides /usr/share/emacs/24.2/lisp/= org/org-beamer ~/.local/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/24.2/lis= p/org/org-plot ~/.local/share/emacs/site-lisp/org/org-docview hides /usr/share/emacs/24.2/= lisp/org/org-docview /usr/share/emacs/site-lisp/org/org-jsinfo hides /usr/share/emacs/24.2/lisp/= org/org-jsinfo ~/.local/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/24.2/lis= p/org/ob-latex ~/.local/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/24.2/lis= p/org/org-feed ~/.local/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/24.2= /lisp/org/org-entities ~/.local/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/24.2/li= sp/org/ob-scheme /usr/share/emacs/site-lisp/org/org-vm hides /usr/share/emacs/24.2/lisp/org/= org-vm ~/.local/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/24.2/l= isp/org/org-compat ~/.local/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/24.2/li= sp/org/ob-screen ~/.local/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/24.2/lisp= /org/ob-eval ~/.local/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/24.2/li= sp/org/org-clock ~/.local/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/24.2/li= sp/org/ob-python /usr/share/emacs/site-lisp/org/org-mks hides /usr/share/emacs/24.2/lisp/org= /org-mks ~/.local/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/24.2/lisp/= org/ob-awk ~/.local/share/emacs/site-lisp/org/ob-keys hides /usr/share/emacs/24.2/lisp= /org/ob-keys /usr/share/emacs/site-lisp/org/org-html hides /usr/share/emacs/24.2/lisp/or= g/org-html /usr/share/emacs/site-lisp/org/org-special-blocks hides /usr/share/emacs/24= .2/lisp/org/org-special-blocks ~/.local/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/24.2/lisp= /org/ob-shen /usr/share/emacs/site-lisp/org/org-xoxo hides /usr/share/emacs/24.2/lisp/or= g/org-xoxo ~/.local/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/24.2/l= isp/org/ob-fortran ~/.local/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/24.2/li= sp/org/ob-matlab ~/.local/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/24.2/li= sp/org/org-faces ~/.local/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/24.= 2/lisp/org/ob-emacs-lisp /usr/share/emacs/site-lisp/org/org-exp hides /usr/share/emacs/24.2/lisp/org= /org-exp ~/.local/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/24.2/li= sp/org/org-table ~/.local/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/24.2/lis= p/org/org-macs /usr/share/emacs/site-lisp/org/org-mac-message hides /usr/share/emacs/24.2/= lisp/org/org-mac-message ~/.local/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/24.2/li= sp/org/ob-octave ~/.local/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/24.2/lisp= /org/ob-ruby Features: (shadow sort hashcash cookie1 mail-extr spam spam-stat bbdb-com gnus-uu yenc epa epg gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig gnus-sum nndraft nnmh nnoo gnus-group gnus-undo gnus-start gnus-spec gnus-win nnmail gnus-int gnus-range mail-source gnus gnus-ems nnheader emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-specs edebug pp cus-edit cus-start cus-load debug two-column iso-transl derived jka-compr info newcomment misearch multi-isearch xcscope cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs org-element org-clock vc-git org-table org-w3m org-jsinfo org-infojs org-html org-exp org-exp-blocks org-info org-habit org-agenda org-gnus gnus-util org-depend org-bibtex bibtex org-bbdb org-geo diary-lib diary-loaddefs ob-ditaa edmacro kmacro remember org-remember org-datetree org byte-opt warnings bytecomp byte-compile cconv macroexp org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs help-mode easymenu view polish-holidays jabber jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar mailcap jabber-activity jabber-watch jabber-modeline advice help-fns advice-preload jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp comint ansi-color ring jabber-browse jabber-search jabber-register jabber-roster format-spec jabber-presence assoc jabber-muc jabber-newdisco jabber-widget jabber-disco wid-edit jabber-chat ewoc jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-keymap jabber-core jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon cl jabber-conn srv dns starttls tls jabber-xml xml jabber-menu jabber-autoloads jabber-util site-gentoo org-install erlang-start bbdb-autoloads bbdb regexp-opt timezone time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 By=C5=82o mi bardzo mi=C5=82o. --- Rurku. = --- ... >=C5=81ukasz< --- To dobrze, =C5=BCe mnie s= =C5=82uchasz. ...Przez ulic=C4=99 przechodzi na =C5=BC=C3=B3=C5=82tym =C5=9Bwietle, jab= =C5=82ka obiera =C5=BCyletk=C4=85, lubi ryzyko From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 18 14:48:13 2013 Received: (at 15124) by debbugs.gnu.org; 18 Aug 2013 18:48:13 +0000 Received: from localhost ([127.0.0.1]:38842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VB81M-0002kl-O6 for submit@debbugs.gnu.org; Sun, 18 Aug 2013 14:48:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51042 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VB81K-0002kd-Si for 15124@debbugs.gnu.org; Sun, 18 Aug 2013 14:48:11 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VB81J-0007vv-Nl; Sun, 18 Aug 2013 14:48:09 -0400 From: Glenn Morris To: =?utf-8?Q?=C5=81ukasz?= Stelmach Subject: Re: bug#15124: 24.2; comment indentation functions are messed up References: <874nan5j6u.fsf%stlman@poczta.fm> X-Spook: BROMURE Baranyi FTS2000 Zachawi military AUTODIN X-Ran: TapPdBmaI87D3y|)57\qxFZ5&Y//pK;A?W?=]~k;`/r1FS13MK3%L)9+9iUoV^96[RK^\1 X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 18 Aug 2013 14:48:09 -0400 In-Reply-To: <874nan5j6u.fsf%stlman@poczta.fm> (=?utf-8?Q?=22=C5=81ukasz?= Stelmach"'s message of "Sun, 18 Aug 2013 13:31:37 +0200") Message-ID: <49zjse4yza.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -7.8 (-------) X-Debbugs-Envelope-To: 15124 Cc: 15124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.8 (-------) =C5=81ukasz Stelmach wrote: > I've got some problems with making my Emacs insert " *" at the > beginning of a new line of a comment block in cc-mode. > > I have found what looks like a little mess-up. > > 1. M-j is bound to indent-new-comment-line (an alias for > comment-indent-new-line). Comments at the beginning of the > newcomment.el files say support for consulting > c-comment-line-break-function is yet to be developed. > > 2. cc-mode augments (cc-cmds.el) indent-new-comment-line to use > c-indent-new-comment-line unless comment-line-break-function is bound. Which in practice means it does not do this except in very old Emacs versions that are no longer relevant. > 3. This variable is defined and set in simple.el and used in > default-indent-new-line. This however is is not bound to any key so > setting it to c-indent-new-comment-line in a mode hook won't help. Sorry, I can't understand what the bug is supposed to be. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 18 16:08:44 2013 Received: (at 15124) by debbugs.gnu.org; 18 Aug 2013 20:08:45 +0000 Received: from localhost ([127.0.0.1]:38927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VB9HI-00050r-2z for submit@debbugs.gnu.org; Sun, 18 Aug 2013 16:08:44 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.207]:50881) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VB9HF-00050Y-0e for 15124@debbugs.gnu.org; Sun, 18 Aug 2013 16:08:42 -0400 Received: from [192.168.0.13] (89-77-18-4.dynamic.chello.pl [89.77.18.4]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.poczta.fm (INTERIA.PL) with ESMTPSA; Sun, 18 Aug 2013 22:08:33 +0200 (CEST) Message-ID: <521129C1.8020107@poczta.fm> Date: Sun, 18 Aug 2013 22:08:33 +0200 From: Lukasz Stelmach User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130407 Thunderbird/17.0.4 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#15124: 24.2; comment indentation functions are messed up References: <874nan5j6u.fsf%stlman@poczta.fm> <49zjse4yza.fsf@fencepost.gnu.org> In-Reply-To: <49zjse4yza.fsf@fencepost.gnu.org> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1376856514; bh=KLSXGdcZPqGBTunhU/CAHdc/B6TM0WepPedVMvvdQt0=; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To: CC:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding:X-Interia-Antivirus; b=Xh1rY9GWI33ahr615S7KUBKFkk1h8L9rIz6r2ctq7MFafKrgdegCIt7vQlaQZqWmc 6Vd3Gogzd3eqZPV3wTipnvFLtJDsWFq6SKMD5BKD6XewHXaUkMeA6ruf5axG+cbD1l qV5GOR/Ox6B7s0mUDUBHPDoevRakMXjSI74EKqrE= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15124 Cc: 15124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) W dniu 18.08.2013 20:48, Glenn Morris pisze: > Łukasz Stelmach wrote: > >> I've got some problems with making my Emacs insert " *" at the >> beginning of a new line of a comment block in cc-mode. >> >> I have found what looks like a little mess-up. >> >> 1. M-j is bound to indent-new-comment-line (an alias for >> comment-indent-new-line). Comments at the beginning of the >> newcomment.el files say support for consulting >> c-comment-line-break-function is yet to be developed. >> >> 2. cc-mode augments (cc-cmds.el) indent-new-comment-line to use >> c-indent-new-comment-line unless comment-line-break-function is bound. > > Which in practice means it does not do this except in very old Emacs > versions that are no longer relevant. > >> 3. This variable is defined and set in simple.el and used in >> default-indent-new-line. This however is is not bound to any key so >> setting it to c-indent-new-comment-line in a mode hook won't help. > > > Sorry, I can't understand what the bug is supposed to be. Contrary to what the cc-mode info (4.4 Filling and Line breaking) says, M-j does not call c-indent-new-comment-line. This makes it impossible, like I wrote at the beginnig, to get " *" inserted automatically when pressing M-j to end a line when editing a comment. The result is: /* * Pressing M-j at the end of this line gives only a bad indent at the beginnig of this one. Instead of * the proper prefix which in this case should be " * ". */ -- Było mi bardzo miło. Czwarta pospolita klęska, [...] >Łukasz< Już nie katolicka lecz złodziejska. (c)PP From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 21 17:04:57 2013 Received: (at 15124) by debbugs.gnu.org; 21 Aug 2013 21:04:57 +0000 Received: from localhost ([127.0.0.1]:45777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VCFaK-0006Gb-ON for submit@debbugs.gnu.org; Wed, 21 Aug 2013 17:04:57 -0400 Received: from colin.muc.de ([193.149.48.1]:16686 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VCFaH-0006GM-H9 for 15124@debbugs.gnu.org; Wed, 21 Aug 2013 17:04:54 -0400 Received: (qmail 81075 invoked by uid 3782); 21 Aug 2013 21:04:51 -0000 Received: from acm.muc.de (p5492C77E.dip0.t-ipconnect.de [84.146.199.126]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 21 Aug 2013 23:04:50 +0200 Received: (qmail 11231 invoked by uid 1000); 21 Aug 2013 21:03:39 -0000 Date: Wed, 21 Aug 2013 21:03:39 +0000 To: Lukasz Stelmach Subject: Re: bug#15124: 24.2; comment indentation functions are messed up Message-ID: <20130821210339.GA3790@acm.acm> References: <874nan5j6u.fsf%stlman@poczta.fm> <49zjse4yza.fsf@fencepost.gnu.org> <521129C1.8020107@poczta.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <521129C1.8020107@poczta.fm> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 15124 Cc: Glenn Morris , 15124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Hello, Lukasz On Sun, Aug 18, 2013 at 10:08:33PM +0200, Lukasz Stelmach wrote: > W dniu 18.08.2013 20:48, Glenn Morris pisze: > > Łukasz Stelmach wrote: > >> I've got some problems with making my Emacs insert " *" at the > >> beginning of a new line of a comment block in cc-mode. > >> I have found what looks like a little mess-up. > >> 1. M-j is bound to indent-new-comment-line (an alias for > >> comment-indent-new-line). Comments at the beginning of the > >> newcomment.el files say support for consulting > >> c-comment-line-break-function is yet to be developed. > >> 2. cc-mode augments (cc-cmds.el) indent-new-comment-line to use > >> c-indent-new-comment-line unless comment-line-break-function is bound. > > Which in practice means it does not do this except in very old Emacs > > versions that are no longer relevant. > >> 3. This variable is defined and set in simple.el and used in > >> default-indent-new-line. This however is is not bound to any key so > >> setting it to c-indent-new-comment-line in a mode hook won't help. > > Sorry, I can't understand what the bug is supposed to be. I've fired up "emacs-24.2 -Q", created a new buffer "asdf.c", M-x c-mode. > Contrary to what the cc-mode info (4.4 Filling and Line breaking) says, > M-j does not call c-indent-new-comment-line. This makes it impossible, > like I wrote at the beginnig, to get " *" inserted automatically when > pressing M-j to end a line when editing a comment. The result is: When I type in the text below, typing M-j where indicated, I get the desired " *" on the next line. When I do C-h c M-j, I get told that M-j is bound to `c-indent-new-comment-line'. Questions: 1: Are you certain your buffer was in a CC Mode? What did you do that put the buffer into the CC Mode (e.g. C-x C-f foo.c would do it)? Please report the actual keystrokes you use. 2: What did you do to determine that M-j was bound to `indent-new-comment-line'? Are you sure you were in the CC Mode buffer when you did this? 3: (If 1: and 2: don't solve the problem), would you please dump out your CC Mode configuration by C-c C-b and post it here. Please also tell us about anything else in your .emacs which might be relevant to the problem. > /* > * Pressing M-j at the end of this line gives > only a bad indent at the beginnig of this one. Instead of > * the proper prefix which in this case should be " * ". > */ Thanks! > -- > Było mi bardzo miło. Czwarta pospolita klęska, [...] > >Łukasz< Już nie katolicka lecz złodziejska. (c)PP -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 13 22:16:50 2018 Received: (at 15124) by debbugs.gnu.org; 14 Feb 2018 03:16:50 +0000 Received: from localhost ([127.0.0.1]:42030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elnYw-0003jN-3C for submit@debbugs.gnu.org; Tue, 13 Feb 2018 22:16:50 -0500 Received: from mail-io0-f180.google.com ([209.85.223.180]:41973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elnYu-0003j4-82; Tue, 13 Feb 2018 22:16:48 -0500 Received: by mail-io0-f180.google.com with SMTP id f4so23636887ioh.8; Tue, 13 Feb 2018 19:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=agsjle/ASGZT4C2lgpm60FNOXmd8TRBXuQNHD1+Og0c=; b=Z0qON+HAw8U0Ya29BiLzodKgf3LZIchBtFVlrNwE8BlZ0GNvATob4Wor5DzMEAxF+M jwa0QFrVgzYvKlIqyROUu4WF+Z0ZzlpnXszyzkfAOE7GxTd41weLUupz78hJBNvOe9q/ svDd5jsjX7HHD1wEmvDiXFEOPAdLIwox7yDOU7KWh38RW2QqYED3ZGh5tvLMWmoa0lT2 oY/P9QkiYhMnJUwx+gFfGSMM0NsE2U9S5rDWP5PTdu2q4Vs87EoBz5F2ihhCpvW02GQe NWDFwrIy1CetUI2aDzvdh+UrwMG8FyNRXAi8a8XNlPO7Thj6TERxlrXOmrnGUnFUqlC+ Bb3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=agsjle/ASGZT4C2lgpm60FNOXmd8TRBXuQNHD1+Og0c=; b=kN2qilLQGNC0zYiyVq4NXyAcVvomEI/y75p6k31GWN+Wb1RL5Ay/q8cDNiZfHsYVRN CKjend31fe/3UGmAYHongUBFkwDdgX5+7sF8ijcHRzSTRLYUPnV+rlxbp/EryMVvmf5Y tk6t4pQePtDQvtiDhRi4bE5msHxvDgU64xqmzpU0s6jR/oop3ZKeZFoVKKnDyCBNmdOJ EOqfnCZ432XJ2qwahga3kS0K3hqodlVosChvU+JFxEhnpxJp7elRpPLYd6ysaqyqD2nN 7FJd4YxCVt+fvmXrioHXVxiH3IyPYECgPFXrkNS+EoJ23qvqhmko4JoXYC/2iU1KQAFw kjsQ== X-Gm-Message-State: APf1xPBAS6DXRWCVa7OmnIh4EQ1lf6ptpC9wOA2R8suqg5pXugBEwFTV FDhbTPAi6lsM8XEC2IDbDluSFw== X-Google-Smtp-Source: AH8x225Bq1rAEtkbfwtQpS1sSocyyyLcsosH/zW7mlUuVY2P1f6M7BzxS4NFJV2pIpozrEXxdgjfPg== X-Received: by 10.107.29.200 with SMTP id d191mr3784040iod.300.1518578202500; Tue, 13 Feb 2018 19:16:42 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id k66sm12676896itd.8.2018.02.13.19.16.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 19:16:41 -0800 (PST) From: Noam Postavsky To: Alan Mackenzie Subject: Re: bug#15124: 24.2; comment indentation functions are messed up References: <874nan5j6u.fsf%stlman@poczta.fm> <49zjse4yza.fsf@fencepost.gnu.org> <521129C1.8020107@poczta.fm> <20130821210339.GA3790@acm.acm> Date: Tue, 13 Feb 2018 22:16:40 -0500 In-Reply-To: <20130821210339.GA3790@acm.acm> (Alan Mackenzie's message of "Wed, 21 Aug 2013 21:03:39 +0000") Message-ID: <8737249s6f.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 15124 Cc: Glenn Morris , 15124@debbugs.gnu.org, Lukasz Stelmach X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) tags 15124 unreproducible close 15124 quit Alan Mackenzie writes: > I've fired up "emacs-24.2 -Q", created a new buffer "asdf.c", M-x c-mode. > >> Contrary to what the cc-mode info (4.4 Filling and Line breaking) says, >> M-j does not call c-indent-new-comment-line. This makes it impossible, >> like I wrote at the beginnig, to get " *" inserted automatically when >> pressing M-j to end a line when editing a comment. The result is: > > When I type in the text below, typing M-j where indicated, I get the > desired " *" on the next line. When I do C-h c M-j, I get told that M-j > is bound to `c-indent-new-comment-line'. Seems OP hasn't followed up, so there's no need to keep this open. From unknown Mon Jun 23 16:45:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Mar 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator