[OS X TeX] migrating from Emacs to TexShop
Herbert Schulz
herbs at wideopenwest.com
Sat Feb 4 18:25:20 EST 2012
On Feb 4, 2012, at 4:56 PM, Enrico Franconi wrote:
>>
>> there didn't seem to be any equivalent to Emacs's fill-paragraph command.
>
> My first question as well. The solution provided by others in response to your question does not really capture the power and beauty of emacs' fill-paragraph.
> I worked out a satisfactory solution in terms of a Mac 'service'. These are system-wide general procedures which can be used from within any (modern) application over standard types, such as a text.
> I've created a service called 'Tidy.service' which does a LaTeX-aware clean formatting á la fill-paragraph of the selected text - from within TeXShop, Latexian, whatever.
> It has to be installed in ~/Library/Services/
> You can bind this service to any application-specific key (I chose the familiar CTRL-SHIFT-Q...).
> If there is enough interest I can donate the service to be distributed with MacTeX, even though I voluntarily abandoned several years ago the relation-with-angry-customers camp (I maintained the first emacs distro for the Mac)...
> Meanwhile I'm sending it to you privately by email to test it.
> Regarding your other questions, I guess the answer you got are already good answers: basically, the Mac has its own standard way of moving within text (arrows w/wo CMD/ALT/SHIFT/CTRL), while it also honour some basic emacs binding; nonetheless, from the system preferences you can rebind basically everything at your own pleasure - even if this will bring you back to square one, namely you start wasting time to configure the system, so you better learn the new bindings :-)
> cheers
> --e.
Howdy,
I'm not quite sure what emacs' fill-paragraph does? Does it re-wrap a paragraph to a different width?
I'd be interested in experimenting with Tidy.service.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list