Package: debian-el Version: 34.1 Severity: wishlist When reading mail or README, some time I want to know about package my point is on. Using word-at-point for default value give it to us.
Attached is the patch.
diff -Naur emacs-goodies-el-34.1.orig/elisp/debian-el/apt-utils.el emacs-goodies-el-34.1/elisp/debian-el/apt-utils.el --- emacs-goodies-el-34.1.orig/elisp/debian-el/apt-utils.el 2010-06-23 17:36:37.000000000 +0200 +++ emacs-goodies-el-34.1/elisp/debian-el/apt-utils.el 2011-02-17 07:13:33.458298305 +0100 @@ -41,6 +41,7 @@ (require 'browse-url) (require 'jka-compr) +(require 'thingatpt) (defalias 'apt-utils-puthash 'puthash) @@ -1310,7 +1311,7 @@ (text-properties-at (point)))))) (PC-word-delimiters "-")) (when (not (stringp package)) - (setq package nil)) + (setq package (word-at-point))) (completing-read (if package (format "Choose Debian package (%s): " package) "Choose Debian package: ")
-- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (700, 'unstable'), (500, 'oldstable'), (500, 'testing'), (50, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debian-el depends on: ii bzip2 1.0.5-6 high-quality block-sorting file co ii dpkg 1.15.8.10 Debian package management system ii emacs [emacsen] 23.2+1-7 The GNU Emacs editor (metapackage) ii emacs22 [emacsen] 22.3+1-1.2 The GNU Emacs editor ii emacs23 [emacsen] 23.2+1-7 The GNU Emacs editor (with GTK+ us ii file 5.04-5 Determines file type using "magic" ii install-info 4.13a.dfsg.1-6 Manage installed documentation in ii reportbug 4.12.6 reports bugs in the Debian distrib Versions of packages debian-el recommends: ii dlocate 1.02 fast alternative to dpkg -L and dp ii groff-base 1.21-4 GNU troff text-formatting system ( ii wget 1.12-2.1 retrieves files from the web Versions of packages debian-el suggests: pn gnus <none> (no description available) -- no debconf information -- Rémi Vanicat