From: Dani Moncayo <dmoncayo@gmail.com>
To: 12748@debbugs.gnu.org
Subject: bug#12748: 24.2.50; doc fix for `just-one-space'
Date: Sun, 28 Oct 2012 14:48:32 +0100 [thread overview]
Message-ID: <CAH8Pv0hQ263T=b039Un2sPEbCpsQ_rEtpup0ONQWF1a2dHt8EA@mail.gmail.com> (raw)
I propose this patch for fixing a documentation bug:
=== modified file 'doc/emacs/killing.texi'
--- doc/emacs/killing.texi 2012-09-30 09:18:38 +0000
+++ doc/emacs/killing.texi 2012-10-28 13:40:52 +0000
@@ -123,7 +123,7 @@
(even if there were none before). With a numeric argument @var{n}, it
leaves @var{n} spaces before point if @var{n} is positive; if @var{n}
is negative, it deletes newlines in addition to spaces and tabs,
-leaving a single space before point.
+leaving @var{-n} spaces before point.
@kbd{C-x C-o} (@code{delete-blank-lines}) deletes all blank lines
after the current line. If the current line is blank, it deletes all
=== modified file 'lisp/simple.el'
--- lisp/simple.el 2012-10-07 22:31:58 +0000
+++ lisp/simple.el 2012-10-28 13:43:45 +0000
@@ -744,7 +744,7 @@
(defun just-one-space (&optional n)
"Delete all spaces and tabs around point, leaving one space (or N spaces).
-If N is negative, delete newlines as well."
+If N is negative, delete newlines as well, leaving (-N) spaces."
(interactive "*p")
(unless n (setq n 1))
(let ((orig-pos (point))
In GNU Emacs 24.2.50.1 (i386-mingw-nt6.1.7601)
of 2012-10-28 on DANI-PC
Bzr revision: 110699 rgm@gnu.org-20121028023436-4hvcv5dsjz1g9hg7
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --with-gcc (4.7) --no-opt --enable-checking --cflags
-I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
-I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
-I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
-I../../libs/tiff-3.8.2-1/include
-I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
-I../../libs/gnutls-3.0.16/include
-I../../libs/libiconv-1.14-2-mingw32-dev/include'
Important settings:
value of $LANG: en_US.UTF8
locale-coding-system: cp1252
default enable-multibyte-characters: t
--
Dani Moncayo
next reply other threads:[~2012-10-28 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-28 13:48 Dani Moncayo [this message]
2012-10-28 16:42 ` bug#12748: 24.2.50; doc fix for `just-one-space' Eli Zaretskii
2012-10-28 16:48 ` Dani Moncayo
2012-10-28 18:49 ` Dani Moncayo
2012-10-28 19:27 ` Eli Zaretskii
2012-12-08 3:26 ` Chong Yidong
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='CAH8Pv0hQ263T=b039Un2sPEbCpsQ_rEtpup0ONQWF1a2dHt8EA@mail.gmail.com' \
--to=dmoncayo@gmail.com \
--cc=12748@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).