[OS X TeX] migrating from Emacs to TexShop
martin.berggren at cs.umu.se
Sun Feb 5 15:33:53 CET 2012
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.
UMIT Research Lab
Department of Computing Science, Umeå Universitet
Campustorget 5, S-901 87 Umeå, Sweden. Ph: +46-70-732 8111
http://www.cs.umu.se/~martinb, Martin.Berggren at cs.umu.se
More information about the macostex-archives