From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#6917: forward-comment moves also if nil Date: Sat, 16 Jul 2011 14:47:42 -0400 Message-ID: References: <4C7618E0.4090500@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1310842110 2498 80.91.229.12 (16 Jul 2011 18:48:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2011 18:48:30 +0000 (UTC) To: 6917-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 16 20:48:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qi9ub-0002UB-4Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jul 2011 20:48:25 +0200 Original-Received: from localhost ([::1]:36158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi9ua-0001TQ-1z for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jul 2011 14:48:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi9uG-0001Si-8V for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2011 14:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qi9uE-0001XW-PM for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2011 14:48:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi9uE-0001XK-FO for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2011 14:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qi9uE-00033J-6a for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2011 14:48:02 -0400 Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jul 2011 18:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Mail-Followup-To: 6917@debbugs.gnu.org, rgm@gnu.org Original-Received: via spool by 6917-done@debbugs.gnu.org id=D6917.131084207111707 (code D ref 6917); Sat, 16 Jul 2011 18:48:02 +0000 Original-Received: (at 6917-done) by debbugs.gnu.org; 16 Jul 2011 18:47:51 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qi9u2-00032j-M4 for submit@debbugs.gnu.org; Sat, 16 Jul 2011 14:47:50 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qi9tz-00032R-TY; Sat, 16 Jul 2011 14:47:48 -0400 Original-Received: from localhost ([127.0.0.1]:39603) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi9tu-0002KS-Fs; Sat, 16 Jul 2011 14:47:42 -0400 X-Spook: IMF Sears Tower espionage condor Chobetsu KGB UMTS UNSCOM X-Ran: &'HhdY/NunKL;IAi9sNwi(zPDDCTN3:7m4gP^J/K;B_ ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Thu, 26 Aug 2010 09:33:52 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 16 Jul 2011 14:48:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49268 Archived-At: tags 6917 notabug wontfix stop > if `(forward-comment 1)' is called with some empty lines > ahead followed by non-commented code, it returns nil > but travels buffer like > `(skip-chars-forward " \n")' would do. It is behaving as documented: Stop scanning if we find something other than a comment or whitespace. Set point to where scanning stops. If COUNT comments are found as expected, with nothing except whitespace between them, return t; otherwise return nil.