Re: C-u C-SPC: doc string and behavior if mark = point

2007-04-17 Thread Richard Stallman
3. A run-on sentence results from joining independent clauses (or sentences)
without using any punctuation for the join.

4. Independent clauses joined using a comma, and without a conjunction, form
a comma splice, not a run-on sentence. A semicolon should be used to join
independent clauses (as you indicated), or the sentence should be split.

I was taught a different definition.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


RE: C-u C-SPC: doc string and behavior if mark = point

2007-04-17 Thread Drew Adams
 3. A run-on sentence results from joining independent clauses
(or sentences) without using any punctuation for the join.

 4. Independent clauses joined using a comma, and without a
conjunction, form a comma splice, not a run-on sentence.
A semicolon should be used to join
independent clauses (as you indicated), or the sentence
should be split.

 I was taught a different definition.

It's not important. My point was not that the sentence was grammatically
incorrect. I thought it would be easier to read if split; that's all.

FWIW:

http://en.wikipedia.org/wiki/Run-on_sentence

http://en.wikipedia.org/wiki/Comma_splice



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: C-u C-SPC: doc string and behavior if mark = point

2007-04-16 Thread Richard Stallman
Split the run-on sentence that starts With no prefix at ; also.

That was not a run-on sentence.  A semicolon is the correct way to
join two independent clauses in one sentence.  A run-on sentence is
what results from using a comma for this.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


RE: C-u C-SPC: doc string and behavior if mark = point

2007-04-16 Thread Drew Adams
 Split the run-on sentence that starts With no prefix at ; also.

 That was not a run-on sentence.  A semicolon is the correct way to
 join two independent clauses in one sentence.  A run-on sentence is
 what results from using a comma for this.

1. It was just a suggestion.

2. I should have said long sentence, not run-on sentence. It's a
judgment call whether a sentence should be split for readability.

3. A run-on sentence results from joining independent clauses (or sentences)
without using any punctuation for the join.

4. Independent clauses joined using a comma, and without a conjunction, form
a comma splice, not a run-on sentence. A semicolon should be used to join
independent clauses (as you indicated), or the sentence should be split.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: C-u C-SPC: doc string and behavior if mark = point

2007-04-09 Thread Eli Zaretskii
 From: Drew Adams [EMAIL PROTECTED]
 Date: Sun, 8 Apr 2007 10:43:55 -0700
 
 1. Doc string for `set-mark-command':

Thanks, I implemented some of your suggestions.  The new doc string
appears at the end of this message.

 Get rid of e.g. C-u C-@.

I don't see any reason to get rid of this, as it's a valuable advice
to novices who could otherwise do something like M-1, which is much
less convenient.

 Get rid of With a double C-u prefix argument, e.g. C-u C-u C-@; just
 say With `C-u C-u'.

Ditto.

 Remove quotes around region. Remove , which is the closest
 thing Remove the paragraph about setting the region altogether
 (the region is not set). Just say The region is the buffer area
 between the mark and the cursor position. Some people call it the
 selection.

Didn't change any of these, since I see nothing wrong with the current
wording.
-

set-mark-command is an interactive compiled Lisp function in `simple.el'.
It is bound to C-@, C-SPC.
(set-mark-command arg)

Set mark where point is, or jump to mark.
Setting the mark also sets the region, which is the closest
equivalent in Emacs to what some editors call the selection.

With no prefix argument, set mark and push old mark position on local
mark ring.  Also, push mark on global mark ring if last mark was set in
another buffer.  Immediately repeating the command activates
`transient-mark-mode' temporarily.

With prefix argument (e.g., C-u C-@), jump to mark, and set mark from
position popped off the local mark ring (this does not affect the global
mark ring).  Use C-x C-@ to jump to a mark popped off the global
mark ring (see `pop-global-mark').

If `set-mark-command-repeat-pop' is non-nil, repeating
the C-@ command with no prefix argument pops the next position
off the local (or global) mark ring and jumps there.

With a double C-u prefix argument (e.g., C-u C-u C-@), unconditionally
set mark where point is, even if `set-mark-command-repeat-pop' is non-nil.

Novice Emacs Lisp programmers often try to use the mark for the wrong
purposes.  See the documentation of `set-mark' for more information.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


RE: C-u C-SPC: doc string and behavior if mark = point

2007-04-09 Thread Drew Adams
  1. Doc string for `set-mark-command':

 Thanks, I implemented some of your suggestions.  The new doc string
 appears at the end of this message.

  Get rid of e.g. C-u C-@.

 I don't see any reason to get rid of this, as it's a valuable advice
 to novices who could otherwise do something like M-1, which is much
 less convenient.

  Get rid of With a double C-u prefix argument, e.g. C-u C-u C-@; just
  say With `C-u C-u'.

 Ditto.

  Remove quotes around region. Remove , which is the closest
  thing Remove the paragraph about setting the region altogether
  (the region is not set). Just say The region is the buffer area
  between the mark and the cursor position. Some people call it the
  selection.

 Didn't change any of these, since I see nothing wrong with the current
 wording.
 -

 set-mark-command is an interactive compiled Lisp function in `simple.el'.
 It is bound to C-@, C-SPC.
 (set-mark-command arg)

 Set mark where point is, or jump to mark.
 Setting the mark also sets the region, which is the closest
 equivalent in Emacs to what some editors call the selection.

 With no prefix argument, set mark and push old mark position on local
 mark ring.  Also, push mark on global mark ring if last mark was set in
 another buffer.  Immediately repeating the command activates
 `transient-mark-mode' temporarily.

 With prefix argument (e.g., C-u C-@), jump to mark, and set mark from
 position popped off the local mark ring (this does not affect the global
 mark ring).  Use C-x C-@ to jump to a mark popped off the global
 mark ring (see `pop-global-mark').

 If `set-mark-command-repeat-pop' is non-nil, repeating
 the C-@ command with no prefix argument pops the next position
 off the local (or global) mark ring and jumps there.

 With a double C-u prefix argument (e.g., C-u C-u C-@), unconditionally
 set mark where point is, even if `set-mark-command-repeat-pop' is non-nil.

 Novice Emacs Lisp programmers often try to use the mark for the wrong
 purposes.  See the documentation of `set-mark' for more information.

Looks better. Thanks, Eli.

You can drop the quote marks around region, but not around selection.
`C-@' defines (sets, if you like) the region itself, not the word region.

You can drop e.g., because `C-u C-u C-@' is not an example of a double
prefix arg with C-@; it is the same thing as using a double prefix arg with
[EMAIL PROTECTED] If you want, you can use i.e. or, better, that is, but 
neither is
needed here.




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


C-u C-SPC: doc string and behavior if mark = point

2007-04-08 Thread Drew Adams
1. Doc string for `set-mark-command':

Set mark at where point is... Should be Set mark at point... or
Set mark where the cursor is... Point is a position, and at where
is not correct English.

Split the run-on sentence that starts With no prefix at ; also.

Get rid of e.g. C-u C-@. Argument and prefix alone should be
prefix argument everywhere. 

Don't speak of a new position for mark. The mark is a (marked)
position, as far as users are concerned (yes, it also has buffer
info). Point and mark in the doc should stand for buffer
positions, not what is at those positions (e.g. the cursor).

Get rid of With a double C-u prefix argument, e.g. C-u C-u C-@; just
say With `C-u C-u'.

Remove quotes around region. Remove , which is the closest
thing Remove the paragraph about setting the region altogether
(the region is not set). Just say The region is the buffer area
between the mark and the cursor position. Some people call it the
selection.


2. In a buffer in which there is no mark, `C-u C-SPC' gives the error
No mark set in this buffer. When point /= mark, the user sees the
cursor move. But when point = mark, there is no feedback. As an
enhancement, perhaps it would help to provide a message when mark =
point: Mark removed at point. I don't know if this is a good idea,
but it can be disorienting when Emacs provides no feedback that an
action took place.


In GNU Emacs 22.0.96.1 (i386-mingw-nt5.1.2600)
 of 2007-03-21 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug