RE: C-u C-SPC: doc string and behavior if mark = point
> 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
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
> 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
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
> From: "Drew Adams" <[EMAIL PROTECTED]> > Cc: > Date: Mon, 9 Apr 2007 07:48:48 -0700 > > You can drop "e.g.", because `C-u C-u C-@' is not an example of a double > prefix arg Actually, it _is_ an example, since C-u is only one way of supplying an argument of 16 (the code checks if it's more than 4). ___ 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
> > 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
Re: C-u C-SPC: doc string and behavior if mark = point
> 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