From: reader@newsguy.com
To: help-gnu-emacs@gnu.org
Subject: Re: jump between if-fi
Date: Mon, 31 Dec 2007 20:29:28 -0600 [thread overview]
Message-ID: <87wsqujn1z.fsf@newsguy.com> (raw)
In-Reply-To: 20071231162438.GA1211@muc.de
Alan Mackenzie <acm@muc.de> writes:
> Hi, Reader!
[...]
> This is a moderately difficult exercise in Elisp programming. I would
> suggest something like this:
>
He-he... whats moderate for you appears to be clear over the top for me.
[...] snipped a very nice outline of how to go at it.
>
> When you've got it working, please submit it to Emacs for inclusion in
> Emacs 23! Best of luck!
Yes that would be very nice but is also very unlikely. My skill level
would have to be improved several hundred percentage points in a
pretty short while.
I guess not too many emacs developers really do much shell scripting.
Probably using a lot more high level scripting languages (perl, lisp,
python and etc). I run into portability problems more with shell
scripts since something like perl is the same everywhere.
My perl is coming along well enough to use it for all scripting but I
still have many older shell scripts I'd hate to have to convert.
On a slightly different subject... if I may torture the threading
rules a little:
Speaking of portability... I'd like to get my emacs init files to be
more portable from one machine to the next but one I'm dealing with
now has different keyboard responses than most of the others and
requires differnt keybindings for delete-backward-char and a few
other things.
I'd like to include those in .emacs but don't know how to separate
them off by making them depend on which host emacs is running on.
Can you give me a push in that direction?
How to access the env variable HOSTNAME or slurp the results of the
hostname shell command and make the keybindings dependant on the
results.
I've seen examples of something similar where the code tests if its
fsf emacs or Xemacs as a condition.
next prev parent reply other threads:[~2008-01-01 2:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-30 23:02 jump between if-fi reader
2007-12-30 23:23 ` Lennart Borgman (gmail)
2007-12-31 6:29 ` reader
2007-12-31 8:12 ` Thierry Volpiatto
2007-12-31 14:41 ` reader
2008-01-01 15:47 ` reader
[not found] ` <mailman.5533.1199082573.18990.help-gnu-emacs@gnu.org>
2008-01-09 5:40 ` Stefan Monnier
2007-12-31 16:24 ` Alan Mackenzie
2008-01-01 2:29 ` reader [this message]
2008-01-01 14:18 ` Alan Mackenzie
2008-01-01 15:39 ` reader
2008-01-01 15:53 ` Torturedly threaded .emacs portability. [Was: jump between if-fi] Alan Mackenzie
2008-01-01 15:53 ` reader
2008-01-02 5:00 ` Mike Mattie
2008-01-05 18:33 ` jump between if-fi reader
2008-01-09 9:43 ` Arnaldo Mandel
[not found] <mailman.5524.1199055779.18990.help-gnu-emacs@gnu.org>
2008-01-01 18:12 ` Xah Lee
2008-01-01 19:12 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsqujn1z.fsf@newsguy.com \
--to=reader@newsguy.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.