[email protected]
[Top] [All Lists]

Bug#296002: marked as forwarded (MOST_EDITOR doesn't support line number

Subject: Bug#296002: marked as forwarded MOST_EDITOR doesn't support line number before filename
From: Debian Bug Tracking System
Date: Mon, 05 Dec 2005 09:18:04 -0800
Your message dated Mon, 5 Dec 2005 12:01:55 -0500
with message-id <[email protected]>
has caused the Debian Bug report #296002,
regarding MOST_EDITOR doesn't support line number before filename
to be marked as having been forwarded to the upstream software
author(s) "John E. Davis" <[email protected]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 296002-forwarded) by bugs.debian.org; 5 Dec 2005 17:03:45 +0000
>From [email protected] Mon Dec 05 09:03:45 2005
Return-path: <[email protected]>
Received: from deseo.yukidoke.org ([])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EjJkf-0000hz-6U
        for [email protected]; Mon, 05 Dec 2005 09:03:45 -0800
Received: from localhost ([] helo=localhost.localdomain)
        by deseo.yukidoke.org with esmtp (Exim 4.50)
        id 1EjJkd-0000qt-MJ; Mon, 05 Dec 2005 17:03:44 +0000
Received: by localhost.localdomain (Postfix, from userid 1000)
        id 28E2B3F219; Mon,  5 Dec 2005 12:01:56 -0500 (EST)
Date: Mon, 5 Dec 2005 12:01:55 -0500
From: "Benj. Mako Hill" <[email protected]>
To: "John E. Davis" <[email protected]>
Cc: [email protected]
Subject: [[email protected]: Bug#296002: args to $MOST_EDITOR don't work as in 
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="9/GiYV45wF7IL3Iq"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Content-Type: multipart/mixed; boundary="x+RZeZVNR8VILNfK"
Content-Disposition: inline

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Please check out the page for this bug as I've updated it a bit:


Benjamin Mako Hill
[email protected]

Content-Type: message/rfc822
Content-Disposition: inline

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Sat, 19 Feb 2005 16:43:46 +0000
Received: from spohr.debian.org ([] ident=mail)
        by deseo.yukidoke.org with esmtp (Exim 4.34)
        id 1D2Xhq-0003DT-0W
        for [email protected]; Sat, 19 Feb 2005 16:43:46 +0000
Received: from debbugs by spohr.debian.org with local (Exim 3.35 1 (Debian))
        id 1D2XXU-0002Ko-00; Sat, 19 Feb 2005 08:33:04 -0800
X-Loop: [email protected]
Subject: Bug#296002: args to $MOST_EDITOR don't work as in manual
Reply-To: Francisco Borges <[email protected]>, [email protected]
Resent-From: Francisco Borges <[email protected]>
Resent-To: [email protected]
Resent-CC: Benjamin Hill (Mako) <[email protected]>
Resent-Date: Sat, 19 Feb 2005 16:33:02 UTC
Resent-Message-ID: <[email protected]>
X-Debian-PR-Message: report 296002
X-Debian-PR-Package: most
Received: via spool by [email protected] id=B.11088302114405
          (code B ref -1); Sat, 19 Feb 2005 16:33:02 UTC
Received: (at submit) by bugs.debian.org; 19 Feb 2005 16:23:31 +0000
Received: from dep.let.rug.nl [] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1D2XOE-00014f-00; Sat, 19 Feb 2005 08:23:31 -0800
Received: from dep.let.rug.nl ([])
 by dep.let.rug.nl (SMSSMTP with SMTP id M2005021917225820935
 for <[email protected]>; Sat, 19 Feb 2005 17:22:58 +0100
Received: from loki ([email protected] [])
        by dep.let.rug.nl (8.12.10/8.12.10) with ESMTP id j1JGMvVk023280
        for <[email protected]>; Sat, 19 Feb 2005 17:22:58 +0100 (MET)
Received: by loki (Postfix, from userid 7006)
        id 63F4DE72C; Sat, 19 Feb 2005 17:21:45 +0100 (CET)
Date: Sat, 19 Feb 2005 17:21:43 +0100
From: Francisco Borges <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Linux/2.6.8-1-686 (i686)
X-Editor: GNU Emacs
Organization: Alfa Informatica - Rijksuniversiteit Groningen
User-Agent: Mutt/1.5.6+20040907i
X-Whitelist: OK
X-Scanned-By: milter-spamc/0.25.321 (dep.let.rug.nl []); Sat, 19 
Feb 2005 17:22:58 +0100
Delivered-To: [email protected]
Resent-Sender: Debian BTS <[email protected]>
X-Spam-Virus: No
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on deseo.yukidoke.org
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 

Package: most

The most manual says:

      Either of these environment variables specify an editor for most
      to invoke to edit  a  file. The value can contain %s and %d
      formatting descriptors that represent the file name and line
      number, respectively.  For example, if JED is your editor, then
      set MOST_EDITOR to  'jed  %s -g %d'.

but this does not work as expected, the editor name is only passed if
it's before the line number, making it useless for any editor that gets
the line number arg like emacs (e.g. "+N filename").

$ export $MOST_EDITOR="zile +%d %s"
$ most .zshrc

# hitting 'e' for edit I get:
sh: Syntax error: "(" unexpected

## If I try without %s for the file name:
$ export $MOST_EDITOR="zile +%d"
$ most .zshrc

most will say:
Unsupported Editor definition

## then trying

$ export MOST_EDITOR="echo '%d %s'"
$ most .zshrc
5 (null)

$ export MOST_EDITOR="echo '%s %d'"
$ most .zshrc
.zshrc 5

                       ----- # ------

best regards,
Francisco Borges


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (GNU/Linux)



To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#296002: marked as forwarded (MOST_EDITOR doesn't support line number before filename), Debian Bug Tracking System <=