all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel <daniel@warum-ada.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Using bash aliases with auctex
Date: Thu, 18 Jan 2007 15:39:33 +0100	[thread overview]
Message-ID: <45AF86A5.5050402@warum-ada.de> (raw)
In-Reply-To: <1169124292.688929.113340@s34g2000cwa.googlegroups.com>

Martin wrote:

> 
> On Jan 17, 10:40 am, "Martin" <lovesl...@frustratedhousewives.zzn.com>
> wrote:
>> I'm having problems getting emacs to use my bash aliases. Specifically,
>> when running auctex's view command on a latex buffer, xdvi gets called
>> with default arguments, instead of my xdvi alias that all bash shells
>> use.
> 
> I now use .Xresources settings to get xdvi to behave like I want, so
> the original problem is solved. It would still be interesting to know
> how emacs reads aliases, though.

Hi Martin,

I don't think it's Emacs' fault at all.  If started 
non-interactively, bash doesn't do any alias expansion.  I believe 
you could try bash-functions instead (better than aliases anyway) 
or maybe call bash with the -i switch.

Have fun
----Daniel

      reply	other threads:[~2007-01-18 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17  9:40 Using bash aliases with auctex Martin
2007-01-18 12:44 ` Martin
2007-01-18 14:39   ` Daniel [this message]

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=45AF86A5.5050402@warum-ada.de \
    --to=daniel@warum-ada.de \
    --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.