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


Groups > linux.debian.bugs.dist > #1300433

Bug#1141260: elpa-debian-el: Ignore text properties when setting initial package name string for completion

From Mark Hindley <leepen@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.emacsen
Subject Bug#1141260: elpa-debian-el: Ignore text properties when setting initial package name string for completion
Date 2026-07-02 12:40 +0200
Message-ID <NcmZP-2hit-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Package: elpa-debian-el
Version: 37.19.3
Severity: normal
Tags: patch

Hi,

When using apt-utils-show-package, the initial completion suggestion is taken
from word-at-point. However, if that word has read-only property set, then the
prompt completion itself is not modifiable and can only be appended to.

It would be better to ignore the properties of the word-at-point so that the
full prompt suggestion can be modified. Fortunately word-at-point has an optional
argument to implement this. Suggested patch attached.

Best wishes

Mark


-- System Information:
Debian Release: forky/sid
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.11+deb14-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init

Versions of packages elpa-debian-el depends on:
ii  bzip2           1.0.8-6+b1
ii  dh-elpa-helper  2.1.9
ii  emacsen-common  3.0.8
ii  reportbug       13.2.0devuan2
ii  xz-utils        5.8.3-1
ii  zstd            1.5.7+dfsg-3+b1

Versions of packages elpa-debian-el recommends:
ii  emacs              1:30.2+1-3
ii  emacs-gtk [emacs]  1:30.2+1-3
ii  wget               1.25.0-2

elpa-debian-el suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1141260: elpa-debian-el: Ignore text properties when setting initial package name string for completion Mark Hindley <leepen@debian.org> - 2026-07-02 12:40 +0200

csiph-web