[OS X TeX] migrating from Emacs to TexShop

Herbert Schulz herbs at wideopenwest.com
Sun Feb 5 09:49:35 EST 2012


On Feb 5, 2012, at 8:33 AM, Martin Berggren wrote:

> On Feb 5, 2012, at 15:18 , 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
>>> 
>>> 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.
> 
> That's another good argument to insert i CR/LF after each sentence in the source, which I tend to do. My main argument for sentence-wise CR/LF, though, is that I often use svn to manage the source file when co-authoring. Since svn is line based, changes in the source will then be confined to the present line, and svn diffs will become concise and readable. 
> 
> 
> Martin Berggren

Howdy,

Each to his/her own... I know other who manually put in LFs at the end of each thought, etc.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list