unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* untabify-region?
@ 2007-03-20 11:33 Johs
  2007-03-20 11:59 ` untabify-region? Robert D. Crawford
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Johs @ 2007-03-20 11:33 UTC (permalink / raw)
  To: help-gnu-emacs

In emacs its possible press "C-x h M-x untabify" to convert tabs to blanks. 
The is very helpfull when typing a verbatim block in latex.

Is there someway to make this function work in other applications as well 
(Kile, TexnicCenter for winXP, etc)? 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-03-20 11:33 untabify-region? Johs
@ 2007-03-20 11:59 ` Robert D. Crawford
  2007-03-20 13:15 ` untabify-region? Peter Dyballa
       [not found] ` <mailman.1151.1174396656.7795.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 12+ messages in thread
From: Robert D. Crawford @ 2007-03-20 11:59 UTC (permalink / raw)
  To: help-gnu-emacs

"Johs" <sdfsf@asd.com> writes:

> In emacs its possible press "C-x h M-x untabify" to convert tabs to blanks. 
> The is very helpfull when typing a verbatim block in latex.
>
> Is there someway to make this function work in other applications as well 
> (Kile, TexnicCenter for winXP, etc)? 

You could write an elisp interpreter for the above applications.  Then
you could use the untabify function... oh, wait, then you would have to
also include the functions that untabify rely on... then the functions
that the functions rely on... ad infinitum.  

Seriously, I think it depends on whether the applications have some sort
of support for writing your own functions.  As I am not familiar with
the programs you mention, and _probably_ the majority of people that are
hanging out here are in the same boat, you might have a look at the
communities for the programs mentioned.

Or, you could just live in emacs, which I see as the preferable
solution, YMMV.

take care,
rdc
-- 
Robert D. Crawford                                      rdc1x@comcast.net

Somewhere, just out of sight, the unicorns are gathering.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-03-20 11:33 untabify-region? Johs
  2007-03-20 11:59 ` untabify-region? Robert D. Crawford
@ 2007-03-20 13:15 ` Peter Dyballa
       [not found] ` <mailman.1151.1174396656.7795.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2007-03-20 13:15 UTC (permalink / raw)
  To: Johs; +Cc: help-gnu-emacs


Am 20.03.2007 um 12:33 schrieb Johs:

> Is there someway to make this function work in other applications  
> as well
> (Kile, TexnicCenter for winXP, etc)?

In Mac OS X this service is available for Aqua clients, for example  
Emacs.app or Carbon Emacs ... but not for X clients! So I stay with  
my Emacsen.

--
Greetings

   Pete

"Don't just do something, sit there."

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
       [not found] ` <mailman.1151.1174396656.7795.help-gnu-emacs@gnu.org>
@ 2007-04-09  8:33   ` David Combs
  2007-04-09 12:22     ` untabify-region? Peter Dyballa
       [not found]     ` <mailman.1863.1176121624.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: David Combs @ 2007-04-09  8:33 UTC (permalink / raw)
  To: help-gnu-emacs

In article <mailman.1151.1174396656.7795.help-gnu-emacs@gnu.org>,
Peter Dyballa  <Peter_Dyballa@Web.DE> wrote:
>
>Am 20.03.2007 um 12:33 schrieb Johs:
>
>> Is there someway to make this function work in other applications  
>> as well
>> (Kile, TexnicCenter for winXP, etc)?
>
>In Mac OS X this service is available for Aqua clients, for example  
>Emacs.app or Carbon Emacs ... but not for X clients! So I stay with  
>my Emacsen.
>
>--
>Greetings
>
>   Pete
>
>"Don't just do something, sit there."


A completely off-subject question:

I note that you're using OS-X -- in which the lower
parts of are unix or linux or bsd or something.

(correct?)

Does that mean that therefore the entire unix
tools, sh, grep, xargs, ..., are all
available just for the asking -- well,
just waiting for the right incantation?

If so, what *is* this (magic) incantation for
"getting into" eg a bourne shell?

THANKS!

David

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-04-09  8:33   ` untabify-region? David Combs
@ 2007-04-09 12:22     ` Peter Dyballa
       [not found]     ` <mailman.1863.1176121624.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2007-04-09 12:22 UTC (permalink / raw)
  To: David Combs; +Cc: help-gnu-emacs


Am 09.04.2007 um 10:33 schrieb David Combs:

> I note that you're using OS-X -- in which the lower
> parts of are unix or linux or bsd or something.
>
> (correct?)

FreeBSD 5.0 and Mach 3.0 microkernel.

>
> Does that mean that therefore the entire unix
> tools, sh, grep, xargs, ..., are all
> available just for the asking -- well,
> just waiting for the right incantation?

Yes. The basis of Mac OS X is the free Darwin.

http://www.opensource.apple.com/darwinsource/
http://www.opendarwin.org/
http://developer.apple.com/opensource/index.html

>
> If so, what *is* this (magic) incantation for
> "getting into" eg a bourne shell?

I don't know what you want to read, is it 'man sh' or 'man bash' ?

--
Greetings

   Pete

When people run around and around in circles we say they are crazy.  
When planets do it we say they are orbiting.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
       [not found]     ` <mailman.1863.1176121624.7795.help-gnu-emacs@gnu.org>
@ 2007-04-09 12:37       ` Joost Kremers
  2007-04-09 15:19         ` untabify-region? Peter Dyballa
       [not found]         ` <mailman.1876.1176139036.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: Joost Kremers @ 2007-04-09 12:37 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Dyballa wrote:
> Am 09.04.2007 um 10:33 schrieb David Combs:
>> If so, what *is* this (magic) incantation for
>> "getting into" eg a bourne shell?
>
> I don't know what you want to read, is it 'man sh' or 'man bash' ?

probably he wants to know how to get to a shell at all. IIRC (haven't been
able to use OS X for about 6 months now...) it's Applications | Utilities |
Terminal.

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-04-09 12:37       ` untabify-region? Joost Kremers
@ 2007-04-09 15:19         ` Peter Dyballa
       [not found]         ` <mailman.1876.1176139036.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2007-04-09 15:19 UTC (permalink / raw)
  To: Joost Kremers; +Cc: help-gnu-emacs


Am 09.04.2007 um 14:37 schrieb Joost Kremers:

> Peter Dyballa wrote:
>> Am 09.04.2007 um 10:33 schrieb David Combs:
>>> If so, what *is* this (magic) incantation for
>>> "getting into" eg a bourne shell?
>>
>> I don't know what you want to read, is it 'man sh' or 'man bash' ?
>
> probably he wants to know how to get to a shell at all. IIRC  
> (haven't been
> able to use OS X for about 6 months now...) it's Applications |  
> Utilities |
> Terminal.

No! It's GNU Emacs: M-x shell RET.


--
Mit friedvollen Grüßen

   Pete

Zukunft statt Zustand!

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
       [not found]         ` <mailman.1876.1176139036.7795.help-gnu-emacs@gnu.org>
@ 2007-04-23  3:41           ` David Combs
  2007-04-23  7:22             ` untabify-region? Joost Kremers
  0 siblings, 1 reply; 12+ messages in thread
From: David Combs @ 2007-04-23  3:41 UTC (permalink / raw)
  To: help-gnu-emacs

In article <mailman.1876.1176139036.7795.help-gnu-emacs@gnu.org>,
Peter Dyballa  <Peter_Dyballa@Web.DE> wrote:
>
>Am 09.04.2007 um 14:37 schrieb Joost Kremers:
>
>> Peter Dyballa wrote:
>>> Am 09.04.2007 um 10:33 schrieb David Combs:
>>>> If so, what *is* this (magic) incantation for
>>>> "getting into" eg a bourne shell?
>>>
>>> I don't know what you want to read, is it 'man sh' or 'man bash' ?
>>
>> probably he wants to know how to get to a shell at all. IIRC  
>> (haven't been
>> able to use OS X for about 6 months now...) it's Applications |  
>> Utilities |
>> Terminal.
>
>No! It's GNU Emacs: M-x shell RET.

"Emacs"?  What does *that* have to do with anything here?  :-)


Here's the situation:  I'm visiting somewhere, someone has
an apple-laptop, with of course os-x.

I want to be able to say, 

     Hey!  You know, you've got a whole UNIX already
     sitting there, for free, on your computer.

     Here, let me show you:

  Question: what do I do now, eg how to get into
   a shell, run grep, etc?

  Like, what menu do I have to mouse-descend, etc, to
  get "into" unix or bsd or whatever it is?

  A month or two ago I was in such a situation --
  tried using "help", looked for "unix", no luck.

Thanks!

David

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-04-23  3:41           ` untabify-region? David Combs
@ 2007-04-23  7:22             ` Joost Kremers
  2007-04-27  3:57               ` untabify-region? David Combs
  0 siblings, 1 reply; 12+ messages in thread
From: Joost Kremers @ 2007-04-23  7:22 UTC (permalink / raw)
  To: help-gnu-emacs

David Combs wrote:
[shell on OS X]
>   Like, what menu do I have to mouse-descend, etc, to
>   get "into" unix or bsd or whatever it is?

look at the tex you quoted, i already gave you the answer in a previous
post...

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-04-23  7:22             ` untabify-region? Joost Kremers
@ 2007-04-27  3:57               ` David Combs
  2007-04-27  7:34                 ` untabify-region? Joost Kremers
  2007-04-27  8:35                 ` untabify-region? Peter Dyballa
  0 siblings, 2 replies; 12+ messages in thread
From: David Combs @ 2007-04-27  3:57 UTC (permalink / raw)
  To: help-gnu-emacs

In article <slrnf2onjd.slj.joostkremers@j.kremers4.news.arnhem.chello.nl>,
Joost Kremers  <joostkremers@yahoo.com> wrote:
>David Combs wrote:
>[shell on OS X]
>>   Like, what menu do I have to mouse-descend, etc, to
>>   get "into" unix or bsd or whatever it is?
>
>look at the tex you quoted, i already gave you the answer in a previous
>post...
>
>-- 
>Joost Kremers                                      joostkremers@yahoo.com
>Selbst in die Unterwelt dringt durch Spalten Licht
>EN:SiS(9)

OK, here it is:


Peter Dyballa wrote:
> Am 09.04.2007 um 10:33 schrieb David Combs:
>> If so, what *is* this (magic) incantation for
>> "getting into" eg a bourne shell?
>
> I don't know what you want to read, is it 'man sh' or 'man bash' ?

probably he wants to know how to get to a shell at all. IIRC (haven't been
able to use OS X for about 6 months now...) it's Applications | Utilities |
Terminal.



Since I haven't got one to try it on -- what happens when
I go to "Terminal"?

Do I get a shell prompt?  

If so, then I'm home free!


THANKS!

David

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-04-27  3:57               ` untabify-region? David Combs
@ 2007-04-27  7:34                 ` Joost Kremers
  2007-04-27  8:35                 ` untabify-region? Peter Dyballa
  1 sibling, 0 replies; 12+ messages in thread
From: Joost Kremers @ 2007-04-27  7:34 UTC (permalink / raw)
  To: help-gnu-emacs

David Combs wrote:
> > probably he wants to know how to get to a shell at all. IIRC (haven't been
> > able to use OS X for about 6 months now...) it's Applications | Utilities |
> > Terminal.
> >
>
> Since I haven't got one to try it on -- what happens when
> I go to "Terminal"?
>
> Do I get a shell prompt?  

yes. Terminal is the OS X equivalent of xterm/rxvt/konsole/etc. under X. it
defaults to a bash shell, but you can configure it to use a different shell
if you wish.


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: untabify-region?
  2007-04-27  3:57               ` untabify-region? David Combs
  2007-04-27  7:34                 ` untabify-region? Joost Kremers
@ 2007-04-27  8:35                 ` Peter Dyballa
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2007-04-27  8:35 UTC (permalink / raw)
  To: David Combs; +Cc: help-gnu-emacs


Am 27.04.2007 um 05:57 schrieb David Combs:

> Since I haven't got one to try it on -- what happens when
> I go to "Terminal"?
>
> Do I get a shell prompt?

Yes, but only one! For each instance of a Terminal window.

>
> If so, then I'm home free!

What does that mean in English?

--
Mit reisefreudigen Grüßen

   Pete

Alles Vernünftige ist einfach; alles Komplizierte ist überflüssig.
                                                  (M. Kalaschnikow)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-04-27  8:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 11:33 untabify-region? Johs
2007-03-20 11:59 ` untabify-region? Robert D. Crawford
2007-03-20 13:15 ` untabify-region? Peter Dyballa
     [not found] ` <mailman.1151.1174396656.7795.help-gnu-emacs@gnu.org>
2007-04-09  8:33   ` untabify-region? David Combs
2007-04-09 12:22     ` untabify-region? Peter Dyballa
     [not found]     ` <mailman.1863.1176121624.7795.help-gnu-emacs@gnu.org>
2007-04-09 12:37       ` untabify-region? Joost Kremers
2007-04-09 15:19         ` untabify-region? Peter Dyballa
     [not found]         ` <mailman.1876.1176139036.7795.help-gnu-emacs@gnu.org>
2007-04-23  3:41           ` untabify-region? David Combs
2007-04-23  7:22             ` untabify-region? Joost Kremers
2007-04-27  3:57               ` untabify-region? David Combs
2007-04-27  7:34                 ` untabify-region? Joost Kremers
2007-04-27  8:35                 ` untabify-region? Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).