* Using bash aliases with auctex
@ 2007-01-17 9:40 Martin
2007-01-18 12:44 ` Martin
0 siblings, 1 reply; 3+ messages in thread
From: Martin @ 2007-01-17 9:40 UTC (permalink / raw)
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 changed the TeX-shell variable to bash
(custom-set-variables '(TeX-shell "/bin/bash") ...
but that didn't change anything. Shouldn't that make emacs read all
that's in my .bashrc file?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using bash aliases with auctex
2007-01-17 9:40 Using bash aliases with auctex Martin
@ 2007-01-18 12:44 ` Martin
2007-01-18 14:39 ` Daniel
0 siblings, 1 reply; 3+ messages in thread
From: Martin @ 2007-01-18 12:44 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using bash aliases with auctex
2007-01-18 12:44 ` Martin
@ 2007-01-18 14:39 ` Daniel
0 siblings, 0 replies; 3+ messages in thread
From: Daniel @ 2007-01-18 14:39 UTC (permalink / raw)
Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-18 14:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17 9:40 Using bash aliases with auctex Martin
2007-01-18 12:44 ` Martin
2007-01-18 14:39 ` Daniel
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.