Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176604

Re: reportbug and remapped "edit"

From Jonathan Dowland <jmtd@debian.org>
Newsgroups linux.debian.user
Subject Re: reportbug and remapped "edit"
Date 2017-01-12 11:10 +0100
Message-ID <sYKuu-2GC-19@gated-at.bofh.it> (permalink)
References <sYs4x-7ZN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jan 11, 2017 at 09:27:17AM -0500, Boyan Penkov wrote:
> I am trying to use reportbug to file a bug report.
> 
> However, my .zshrc contains "alias edit='emacsclient -c -s
> /tmp/emacs1000/server", as I have an emacs session running and would like
> to be able to use "edit file.txt" in the terminal to spawn a connection to
> emacsclient.
...
> Ok, fine -- what's the workaround?

Set your PATH to include a directory under your control, e.g. $HOME/bin, such
that it has precedence over the standard paths, and put a script 'edit' in
there which launches emacs as you wish (probably prefixed with 'exec' and
suffixed with "$@". Use this approach instead of shell aliases.
Don't forget to set it +x

-- 
Jonathan Dowland
Please do not CC me, I am subscribed to the list.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

reportbug and remapped "edit" Boyan Penkov <boyan.penkov@gmail.com> - 2017-01-11 15:30 +0100
  Re: reportbug and remapped "edit" David Wright <deblis@lionunicorn.co.uk> - 2017-01-11 16:00 +0100
    Re: reportbug and remapped "edit" Hans <hans.ullrich@loop.de> - 2017-01-11 16:10 +0100
      Re: reportbug and remapped "edit" Boyan Penkov <boyan.penkov@gmail.com> - 2017-01-11 16:40 +0100
  Re: reportbug and remapped "edit" kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-01-12 04:40 +0100
    Re: reportbug and remapped "edit" David Wright <deblis@lionunicorn.co.uk> - 2017-01-12 06:00 +0100
      Re: reportbug and remapped "edit" kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-01-12 07:10 +0100
        Re: reportbug and remapped "edit" Boyan Penkov <boyan.penkov@gmail.com> - 2017-01-12 13:30 +0100
        Re: reportbug and remapped "edit" David Wright <deblis@lionunicorn.co.uk> - 2017-01-12 17:30 +0100
          Re: reportbug and remapped "edit" Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-12 17:30 +0100
            Re: reportbug and remapped "edit" Nicolas George <george@nsup.org> - 2017-01-12 17:40 +0100
              Re: reportbug and remapped "edit" Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-12 17:50 +0100
                Re: reportbug and remapped "edit" David Wright <deblis@lionunicorn.co.uk> - 2017-01-12 22:10 +0100
          Re: reportbug and remapped "edit" Boyan Penkov <boyan.penkov@gmail.com> - 2017-01-12 18:30 +0100
      Re: reportbug and remapped "edit" Boyan Penkov <boyan.penkov@gmail.com> - 2017-01-12 13:30 +0100
      Re: reportbug and remapped "edit" kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-01-13 03:00 +0100
        Re: reportbug and remapped "edit" Boyan Penkov <boyan.penkov@gmail.com> - 2017-02-07 16:20 +0100
    Re: reportbug and remapped "edit" Nicolas George <george@nsup.org> - 2017-01-12 10:30 +0100
  Re: reportbug and remapped "edit" Jonathan Dowland <jmtd@debian.org> - 2017-01-12 11:10 +0100

csiph-web