[OS X TeX] migrating from Emacs to TexShop

Christopher Menzel cmenzel at tamu.edu
Sun Feb 5 17:05:40 CET 2012

Am Feb 5, 2012 um 3:47 PM schrieb Herbert Schulz:
> On Feb 5, 2012, at 8:18 AM, Christopher Menzel wrote:
>> Am Feb 5, 2012 um 4:38 AM schrieb Chris Lott:
>>> On Sat, Feb 4, 2012 at 2:36 PM, Alain Schremmer
>>> <schremmer.alain at gmail.com> wrote:
>>>> On Feb 4, 2012, at 5:56 PM, Enrico Franconi wrote:
>>>>> the power and beauty of emacs' fill-paragraph.
>>>> Not having a clue and just out of curiosity, I googled "What is
>>>> fill-paragraph". As I understand it now, this has to do with left-justifying
>>>> only. And, indeed, Companion 2nd says on page 103:
>>> Wrong thing. What the OP is talking about is that, in Emacs, you can
>>> hit M-q and Emacs will rewrap your paragraph to the selected width,
>>> removing extra blank lines, short lines, and long lines introduced by
>>> editing. Vim does this for me just fine; I have no idea what TexShop
>>> can do.
>>> I have to say, though, that I'm surprised TexShop can't do that. But I
>>> also don't understand the compelling need for it. Contrary to the OP's
>>> experience, I find it *easier* to exchange files with long lines...
>>> the only exception being when sending email…
>> One issue concerns the behavior of Ctrl-K, which deletes to the next CR/LF. If you are editing in a paragraph consisting of a single long line comprising numerous sentences, Ctrl-K in a Cocoa app like TeXShop deletes from the cursor to the end of the entire paragraph, and as far as I know there isn't anything like Emacs' Meta-K ("kill-sentence") that enables one to delete smaller chunks. With a fixed maximum line length ending in a CR/LF, you have finer-grained control over the effects of Ctrl-K. Whether or not that it is important or useful to anyone is of course a matter of personal preferences and style but (because I'm sure everyone wants to know :-) I prefer to move my hands out of standard typing position (e.g., to highlight text use arrow keys or the mouse) as little as possible, so for me this behavior is, if perhaps not exactly compelling, very useful.
>> -chris
> Howdy,
> I thought I already dealt with this. To delete to end of displayed line first select to end of line (Shift-Cmd-RightArrow) and press either Delete or Cut (Cmd-X) depending upon whether you want to simply remove the text or also place it in the paste-board. Similar to remove to front of displayed line using LeftArrow.

Well of course, but that is exactly the sort of multistep action I prefer to avoid as indicated in my last sentence above — instead of a simple Ctrl-K, we have: (a) move hands out of standard position (b) press Sh-Cmd-→, (c) delete as desired, (d) move hands back into standard position. For many no doubt that procedure is trivial and lightning fast, but I prefer the one clean step. But as you previously noted, to each his own. It's great that there are so many options to suit individual styles and preferences.


More information about the macostex-archives mailing list