elisp and rewrite url for firefox

2005-04-16 Thread Hugh Lawson
What are the functions in elisp that do the below? change from to --- ftp.debian.org ftp://debian.org www.debian.org http://www.debian.org 'browse-url-at-point' makes this happen, but the elisp code is too advanced for me t

Re: Substiotution of tabs with spaces...

2005-04-16 Thread Alan Mackenzie
[EMAIL PROTECTED] wrote on Fri, 15 Apr 2005 11:06:02 +0200: > Hi, > is there a smart way to replace all tabs with 3 spaces in a buffer edited > in c-mode > (both comments and code lines) Yes, but that might not be what you really want. Assuming you've got tab-width set to 3, a tab extends to the

Re: How to detect if Emacs is running in a terminal

2005-04-16 Thread Peter Dyballa
Am 16.04.2005 um 01:42 schrieb Pascal Bourguignon: (cond ((= 21 emacs-major-version) (progn (desktop-read) (cond ((string= "x" window-system) There is this notion of a symbol in List & Intelligent Symbol Processing language. Perhaps you read some about it... That might have happend.

Re: How to detect if Emacs is running in a terminal

2005-04-16 Thread Reiner Steib
On Sat, Apr 16 2005, Stefan Monnier wrote: > In 99% of the cases, people want their Emacs to behave the same on all their > machines, so the config should be the same, no matter whether it's > GNU/Linux, w32, uses window-system, ... > > What can happen, tho, is that depending on the machine some t

Re: How to detect if Emacs is running in a terminal

2005-04-16 Thread Stefan Monnier
> (when (eq system-type 'gnu/linux) ...) > (when (eq system-type 'windows-nt) ...) > (when window-system ...) In 99% of the cases, people want their Emacs to behave the same on all their machines, so the config should be the same, no matter whether it's GNU/Linux, w32, uses window-system, ... Wha

Re: How to detect if Emacs is running in a terminal

2005-04-16 Thread Ismael Valladolid Torres
Pascal Bourguignon escribe: > Denis Bueno <[EMAIL PROTECTED]> writes: > > > Is there some emacs lisp function that I could call to detect whether > > the current emacs process is running from within a terminal or not? > > > > I'd like to be able to change my font-lock faces based on whether > > e