unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: comment-multi-line docstring
Date: Sun, 26 Sep 2004 17:47:31 -0500 (CDT)	[thread overview]
Message-ID: <200409262247.i8QMlVU29361@raven.dms.auburn.edu> (raw)
In-Reply-To: <m17jqitapm.fsf-monnier+emacs@gnu.org> (message from Stefan on Sat, 25 Sep 2004 15:33:31 -0400)

Stefan Monnier wrote:

   So I think the docstring should be rewritten to remove the `obsolete' part
   and to better explain what it does.  AFAIk, what it does it change
   auto-fill-mode so that it doesn't add a "end+start" pair of comment markers
   when breaking a line.

What about the following new docstring?  Too bad that \\[...] does not
recognize aliases.  I had to use \\[indent-new-comment-line] to get
C-M-j.  \\[comment-indent-new-line] produced `M-x comment-indent-new-line'.


===File ~/newcomment-diff===================================
*** newcomment.el	07 Sep 2004 09:18:13 -0500	1.79
--- newcomment.el	26 Sep 2004 17:26:27 -0500	
***************
*** 215,222 ****
  
  ;;;###autoload
  (defcustom comment-multi-line nil
!   "*Non-nil means \\[comment-indent-new-line] continues comments, with no new terminator or starter.
! This is obsolete because you might as well use \\[newline-and-indent]."
    :type 'boolean)
  
  (defcustom comment-empty-lines nil
--- 215,227 ----
  
  ;;;###autoload
  (defcustom comment-multi-line nil
!   "*Non-nil means `comment-indent-new-line' continues comments.
! That is, it inserts no new terminator or starter.
! This affects `auto-fill-mode', which is the main reason to
! customize this variable.
! 
! It also affects \\[indent-new-comment-line].  However, if you want this
! behavior for explicit filling, you might as well use \\[newline-and-indent]."
    :type 'boolean)
  
  (defcustom comment-empty-lines nil
============================================================

      reply	other threads:[~2004-09-26 22:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-25 18:28 comment-multi-line docstring Luc Teirlinck
2004-09-25 19:09 ` Luc Teirlinck
2004-09-25 19:33 ` Stefan
2004-09-26 22:47   ` Luc Teirlinck [this message]

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=200409262247.i8QMlVU29361@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@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).