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#36266: 26.1; Problems with sieve-manage Date: Sun, 11 Aug 2019 09:06:12 -0700 Message-ID: <87y2zz4rgr.fsf@ericabrahamsen.net> References: <23815.51315.484730.915010@alice.local> <8736iuezpj.fsf@ericabrahamsen.net> <877e7j68jt.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="86503"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 36266-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 11 18:07:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.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 1hwqNB-000MPl-PQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Aug 2019 18:07:09 +0200 Original-Received: from localhost ([::1]:40850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwqNA-0007uR-QN for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Aug 2019 12:07:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51607) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwqN5-0007u3-HL for bug-gnu-emacs@gnu.org; Sun, 11 Aug 2019 12:07:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwqN4-0000yo-9A for bug-gnu-emacs@gnu.org; Sun, 11 Aug 2019 12:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwqN4-0000yf-3k for bug-gnu-emacs@gnu.org; Sun, 11 Aug 2019 12:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hwqN3-00006K-UD for bug-gnu-emacs@gnu.org; Sun, 11 Aug 2019 12:07:01 -0400 Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Aug 2019 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 36266 X-GNU-PR-Package: emacs Mail-Followup-To: 36266@debbugs.gnu.org, eric@ericabrahamsen.net, hartzell@alerce.com Original-Received: via spool by 36266-done@debbugs.gnu.org id=D36266.1565539588332 (code D ref 36266); Sun, 11 Aug 2019 16:07:01 +0000 Original-Received: (at 36266-done) by debbugs.gnu.org; 11 Aug 2019 16:06:28 +0000 Original-Received: from localhost ([127.0.0.1]:45723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwqMV-00005G-5w for submit@debbugs.gnu.org; Sun, 11 Aug 2019 12:06:28 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:42892 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwqMS-00004x-DG for 36266-done@debbugs.gnu.org; Sun, 11 Aug 2019 12:06:25 -0400 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 E7368FA0A7 for <36266-done@debbugs.gnu.org>; Sun, 11 Aug 2019 16:06:17 +0000 (UTC) In-Reply-To: <877e7j68jt.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 11 Aug 2019 08:11:50 -0700") 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164889 Archived-At: Eric Abrahamsen writes: > On 07/25/19 11:28 AM, Eric Abrahamsen wrote: >> hartzell@alerce.com writes: >> >>> I asked for help with these on the `help-gnu-emacs` mailing list and >>> Eric suggested that I also report them as bugs so that they don't get >>> lost. Here is the email thread: >>> >>> https://lists.gnu.org/archive/html/help-gnu-emacs/2019-06/msg00185.html >>> >>> g. >>> >>> --- >>> >>> I've been trying to use sieve-manage in GNU Emacs 26.1 on a Mac with >>> dovecot-pigeonhole-0.5.6 on a FreeBSD 12 system. >>> >>> I've run into a few problems: >>> >>> 1. I can start sieve-manage, use the `f` key with the `` >>> line highlighted, edit a script, and use `C-c C-l` to upload it to >>> the server. >>> >>> The problem is that the script, on the server, is named `>> script>.sieve`, which is awkward. >>> >>> But worse, if/when I restart sieve-manage it offers me two choices, >>> one labeled `` (which is the button to create a new >>> script) and one which is the existing script which was saved under >>> that same name. >>> >>> I've tried renaming the buffer, but the code has a preference for >>> `sieve-buffer-script-name`. >>> >>> Is there some way to rename the buffer? >> >> I think it's a little weird that `sieve-new-script' (which defaults to >> "" is a configurable option at all. IMO, there are two >> separate concerns: some placeholder text for the button that's used to >> create a new script (there's no reason to make this configurable), and >> the default name for a newly-created script (the new name should be >> prompted for on a script-by-script basis, and there's no reason to have >> a default at all). >> >> I've attached a simple diff which checks if your new script has the same >> name as `sieve-new-script' and prompts you to rename it. But I think a >> more sensible solution would be to remove the `sieve-new-script' option >> altogether. Then hard-code the "new script" button text, and always >> prompt for a name for a new script. > > I'll just do the simpler fix for now...