Bug#592316: emacs23-bin-common: please register emacsclient as editor

2010-08-10 Thread Lionel Elie Mamane
On Mon, Aug 09, 2010 at 07:46:20PM +0200, Sven Joachim wrote:
 On 2010-08-09 09:55 +0200, Lionel Elie Mamane wrote:

 I attach a works for me
 /usr(/local)/share/applications/emacsclient.desktop,

 It seems you forgot to actually attach the file.

Indeed.

-- 
Lionel
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=emacsclient
GenericName=emacsclient
Comment=Client for the GNU Emacs Text Editor
Exec=/usr/bin/emacsclient -c
TryExec=emacsclient
Terminal=false
Type=Application
Categories=Application;Utility;TextEditor;
MimeType=text/plain


Bug#592316: emacs23-bin-common: please register emacsclient as editor

2010-08-10 Thread Sven Joachim
On 2010-08-10 13:43 +0200, Lionel Elie Mamane wrote:

 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
 Name=emacsclient
 GenericName=emacsclient
 Comment=Client for the GNU Emacs Text Editor
 Exec=/usr/bin/emacsclient -c

1. It is better to use emacsclient.emacs23, as you had already noticed.
2.  -a emacs23 should be appended to do something useful if
   emacsclient cannot connect to the server.
3. If only emacs23-nox is installed, this will probably fail in any
   case; but desktop users will likely have a graphical Emacs installed.

 TryExec=emacsclient
 Terminal=false
 Type=Application
 Categories=Application;Utility;TextEditor;
 MimeType=text/plain

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#592316: emacs23-bin-common: please register emacsclient as editor

2010-08-09 Thread Lionel Elie Mamane
Package: emacs23-bin-common
Version: 23.2+1-2.1
Severity: wishlist
Tags: patch
Attach: /usr/local/share/applications/emacsclient.desktop 

Please register emacslient as an editor in /usr/share/applications/.
As a comparison point, package gnuserv registers gnuclient there. I
attach a works for me
/usr(/local)/share/applications/emacsclient.desktop,
derived from the one in package gnuserv. You'll probably want to
replace bin/emacsclient by bin/emacsclient.emacs23 in the
package.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable'), (400, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs23-bin-common depends on:
ii  emacs23-common23.2+1-2.1 The GNU Emacs editor's shared, arc
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  liblockfile1  1.08-3 NFS-safe locking library, includes

emacs23-bin-common recommends no packages.

emacs23-bin-common suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#592316: emacs23-bin-common: please register emacsclient as editor

2010-08-09 Thread Sven Joachim
On 2010-08-09 09:55 +0200, Lionel Elie Mamane wrote:

 Package: emacs23-bin-common
 Version: 23.2+1-2.1
 Severity: wishlist
 Tags: patch
 Attach: /usr/local/share/applications/emacsclient.desktop 

 Please register emacslient as an editor in /usr/share/applications/.
 As a comparison point, package gnuserv registers gnuclient there. I
 attach a works for me
 /usr(/local)/share/applications/emacsclient.desktop,
 derived from the one in package gnuserv. You'll probably want to
 replace bin/emacsclient by bin/emacsclient.emacs23 in the
 package.

It seems you forgot to actually attach the file.

Regards,
Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org