From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: seberino@spawar.navy.mil (Christian Seberino) Newsgroups: gmane.emacs.help Subject: Re: How make comment-region NOT ignore blank lines but comment out those too? Date: 27 Aug 2003 14:57:03 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1062022553 12487 80.91.224.253 (27 Aug 2003 22:15:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2003 22:15:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 00:15:51 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19s8Zz-00074l-00 for ; Thu, 28 Aug 2003 00:15:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19s8WN-0000YF-Er for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2003 18:12:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 198.253.72.211 Original-X-Trace: posting.google.com 1062021425 11767 127.0.0.1 (27 Aug 2003 21:57:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 27 Aug 2003 21:57:05 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116187 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12106 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12106 Jesper You were right! It worked!!! Now Emacs (CVS version) comments out empty lines! It's great! Thanks for all the help. Can I ask you one more question about this?.... I noticed that the empty lines when they get commented have whitespace after the comment character..... e.g. a blank line ---> "# \n" instead of "#\n" Is it too much to ask to try to make comment-region change blanks to "#\n" instead of "# \n"???? Chris Jesper Harder wrote in message news:... > seberino@spawar.navy.mil (Christian Seberino) writes: > > > I figured out how to get Emacs from CVS but when I do M-x help and > > type in comment-empty-lines it says there is no such thing?!?!?! > > It's only defined after the comment code is loaded, e.g. after the > first time you do `M-;'. Just put > > (setq comment-empty-lines t) > > in you ~/.emacs and it should work fine.