all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12748: 24.2.50; doc fix for `just-one-space'
@ 2012-10-28 13:48 Dani Moncayo
  2012-10-28 16:42 ` Eli Zaretskii
  2012-12-08  3:26 ` Chong Yidong
  0 siblings, 2 replies; 6+ messages in thread
From: Dani Moncayo @ 2012-10-28 13:48 UTC (permalink / raw)
  To: 12748

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12748: 24.2.50; doc fix for `just-one-space'
  2012-10-28 13:48 bug#12748: 24.2.50; doc fix for `just-one-space' Dani Moncayo
@ 2012-10-28 16:42 ` Eli Zaretskii
  2012-10-28 16:48   ` Dani Moncayo
  2012-12-08  3:26 ` Chong Yidong
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2012-10-28 16:42 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12748

> Date: Sun, 28 Oct 2012 14:48:32 +0100
> From: Dani Moncayo <dmoncayo@gmail.com>
> 
> I propose this patch for fixing a documentation bug:

Thanks.

> === 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.

"Leaving -N spaces" is sub-optimal English, IMO.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12748: 24.2.50; doc fix for `just-one-space'
  2012-10-28 16:42 ` Eli Zaretskii
@ 2012-10-28 16:48   ` Dani Moncayo
  2012-10-28 18:49     ` Dani Moncayo
  0 siblings, 1 reply; 6+ messages in thread
From: Dani Moncayo @ 2012-10-28 16:48 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12748

> "Leaving -N spaces" is sub-optimal English, IMO.

My current English skills are not very strong.  So feel free to
improve the patch.

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12748: 24.2.50; doc fix for `just-one-space'
  2012-10-28 16:48   ` Dani Moncayo
@ 2012-10-28 18:49     ` Dani Moncayo
  2012-10-28 19:27       ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Dani Moncayo @ 2012-10-28 18:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12748

On Sun, Oct 28, 2012 at 5:48 PM, Dani Moncayo <dmoncayo@gmail.com> wrote:
>> "Leaving -N spaces" is sub-optimal English, IMO.
>
> My current English skills are not very strong.  So feel free to
> improve the patch.

But out of curiosity: what's wrong with "Leaving -N spaces"?


-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12748: 24.2.50; doc fix for `just-one-space'
  2012-10-28 18:49     ` Dani Moncayo
@ 2012-10-28 19:27       ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2012-10-28 19:27 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12748

> Date: Sun, 28 Oct 2012 19:49:53 +0100
> From: Dani Moncayo <dmoncayo@gmail.com>
> Cc: 12748@debbugs.gnu.org
> 
> On Sun, Oct 28, 2012 at 5:48 PM, Dani Moncayo <dmoncayo@gmail.com> wrote:
> >> "Leaving -N spaces" is sub-optimal English, IMO.
> >
> > My current English skills are not very strong.  So feel free to
> > improve the patch.
> 
> But out of curiosity: what's wrong with "Leaving -N spaces"?

It is susceptible to misinterpretation and misunderstanding by those
who don't hold a Ph.D. degree in math.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12748: 24.2.50; doc fix for `just-one-space'
  2012-10-28 13:48 bug#12748: 24.2.50; doc fix for `just-one-space' Dani Moncayo
  2012-10-28 16:42 ` Eli Zaretskii
@ 2012-12-08  3:26 ` Chong Yidong
  1 sibling, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2012-12-08  3:26 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12748-done

Dani Moncayo <dmoncayo@gmail.com> writes:

> -leaving a single space before point.
> +leaving @var{-n} spaces before point.

Seems OK to me.  Committed, thanks.


Eli Zaretskii <eliz <at> gnu.org> writes:

> "Leaving -N spaces" is sub-optimal English, IMO.

It's understandable enough, I think.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-08  3:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 13:48 bug#12748: 24.2.50; doc fix for `just-one-space' Dani Moncayo
2012-10-28 16:42 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.