From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#38918: 26.3; EBDB fails to edit (add) tags Date: Tue, 14 Jan 2020 14:46:47 -0800 Message-ID: <87o8v5lkq0.fsf@ericabrahamsen.net> References: <87d0bzcnmm.fsf@disroot.org> <87zhf3m4pe.fsf@ericabrahamsen.net> <87blri6a9j.fsf@disroot.org> <87r20en36v.fsf@ericabrahamsen.net> <87v9pqgou0.fsf@disroot.org> <8736csz841.fsf@ericabrahamsen.net> <87d0bv1mmb.fsf@disroot.org> <87h817uq0x.fsf@ericabrahamsen.net> <87muas943w.fsf@disroot.org> <87r204pplx.fsf@ericabrahamsen.net> <87sgki2r5s.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="111672"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38918@debbugs.gnu.org To: Jorge P. de Morais Neto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 14 23:47:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1irUxr-000Sdx-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jan 2020 23:47:11 +0100 Original-Received: from localhost ([::1]:46824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irUxq-00043t-KY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jan 2020 17:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45819) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irUxj-00043b-3P for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2020 17:47:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irUxh-0002ij-Vv for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2020 17:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irUxh-0002ia-Sj for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2020 17:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irUxh-0002e8-RV for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2020 17:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jan 2020 22:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38918 X-GNU-PR-Package: emacs Original-Received: via spool by 38918-submit@debbugs.gnu.org id=B38918.157904201710162 (code B ref 38918); Tue, 14 Jan 2020 22:47:01 +0000 Original-Received: (at 38918) by debbugs.gnu.org; 14 Jan 2020 22:46:57 +0000 Original-Received: from localhost ([127.0.0.1]:33847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irUxd-0002dp-I0 for submit@debbugs.gnu.org; Tue, 14 Jan 2020 17:46:57 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:34234 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irUxb-0002dc-C9 for 38918@debbugs.gnu.org; Tue, 14 Jan 2020 17:46:56 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id A8800FA080; Tue, 14 Jan 2020 22:46:48 +0000 (UTC) In-Reply-To: <87sgki2r5s.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Tue, 14 Jan 2020 08:50:23 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174583 Archived-At: Jorge P. de Morais Neto writes: > Em [2020-01-12 dom 09:10:50-0800], Eric Abrahamsen escreveu: > >> Would you eval this and see if it solves your Org tags issue? >> [...] > > This does make Org Tags work with EBDB 0.6.11, but not on EBDB 0.6.12. > On EBDB 6.12, with a minimally customized GNU Emacs instance the > following occurs: > > 1. I open the minimally customized GNU Emacs instance. > 2. I eval (require 'ebdb-org) > 3. I eval the code snippet you provided > 4. At some moment I set org-tag-alist (note: I actually I don't remember > if I set it after steps 2-3 or before) > 5. Invoke M-x ebdb > 6. I Try to add Org Tags to a record. My Org tags are offered for > completion, but when I choose one, then EBDB seems to ignore my > answer; it then asks for a "regular" tag without offering the Org > tags for completion. Bah, sorry! I forgot that this was a two-part fix, and I only gave you one of the parts. The other part is in: https://git.sr.ht/~girzel/EBDB/commit/046750093275092db4c2407b22482d6d0d702453 But don't worry about it, I'm 99.9% sure that this problem is taken care of. Sorry to make you test in vain. > Besides, it seems that the function `org--tag-add-to-alist' does not > exist on the Org Mode version (9.1 IIRC) that comes with Emacs 26.3. I > think you should document that the Org Tags functionality depends on > recent Org Mode. Also, maybe (I don't know if this would be worth your > time) EBDB could provide a clear error message when the user attempts to > use that functionality on an old Org Mode. Currently it lets Emacs > complain that the symbol's value as a function is void. This is a bigger problem -- I'm committed to supporting Emacs 25. I think I'll just write my own function (read: copy and paste Org's) to do the same thing. Thanks, Eric