From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 13:59:47 2019 Received: (at submit) by debbugs.gnu.org; 17 Jun 2019 17:59:47 +0000 Received: from localhost ([127.0.0.1]:43267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcvv1-0006Xh-1u for submit@debbugs.gnu.org; Mon, 17 Jun 2019 13:59:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:46027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcv58-0005G6-TA for submit@debbugs.gnu.org; Mon, 17 Jun 2019 13:06:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36255) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcv55-0002vy-9a for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 13:06:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcv52-00056P-Tf for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 13:06:07 -0400 Received: from corvid.alerce.com ([206.125.171.163]:16952) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcv51-0004wF-0L for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 13:06:04 -0400 Received: from postfix.alerce.com (50-247-65-142-static.hfc.comcastbusiness.net [50.247.65.142]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by corvid.alerce.com (Postfix) with ESMTPSA id 6EDB02A11B for ; Mon, 17 Jun 2019 10:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alerce.com; s=dkim; t=1560791157; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vGbFzqyhgAOyYUlkSWYm2jseTSr35RIx/832iUb/6l4=; b=AqM8IoQufHdL9ezKinOjMWYR0pjkiRERYsr1ABG9f0VZvEHjLeVX7i2Ni1grLCUl7o06/M +W78oSNqn68LqJ//7hf1bJ6Y6VeRLeCGxXKhSQQwcOmuAU/Ra0vxYEtHM9NAi9PWVXoAYp zoB2/at7aef4iQCnSzmCiHfKYk/f+/5y2WYtvABLm6RaWliNjsQHoCF9EkkaRQGbY0ku2b LszAgXbYsGHd4a1GofzfKCFOSzarDU5ApxjBb10X/V/Fb4RewVjXz0icVxyqgtfuWSwQWc nTnetjfAH+WiGglBSCPlHJ1AHChgyO7xnhzF5eoyzwQ34De/Mfz3uS1epHwVHQ== Received: by postfix.alerce.com (Postfix, from userid 501) id EAF24200EF7E13; Mon, 17 Jun 2019 10:05:56 -0700 (PDT) Message-ID: <23815.51315.484730.915010@alice.local> Date: Mon, 17 Jun 2019 10:05:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: hartzell@alerce.com To: bug-gnu-emacs@gnu.org Subject: 26.1; Problems with sieve-manage X-Mailer: VM undefined under 26.1 (x86_64-apple-darwin14.5.0) X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 206.125.171.163 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 17 Jun 2019 13:59:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: hartzell@alerce.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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 `.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? 2. If I create a script directly on the server (e.g. `ape.sieve`) then start sieve-manage, I'm offered the chance to edit it. If I move the highlighting to `ape.sieve` then use `f` to edit it, emacs becomes unresponsive. I can break out of it with C-g. But, I've had it work once or twice. I haven't figure out how to repeat it. If I look in `*sieve-manage-log*`, I can see that emacs has sent `GETSCRIPT "ape"` and I can see the text of the script in the response. I'm not sure what it's waiting for. 3. If I mess up my authentication info, I'm never given a chance to re-enter it. When I enter the server name, it goes ahead and re-uses the bad info and fails. The only way I've been able to figure out to be reprompted is to restart emacs. Here's the info that the bug reporter generated; In GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-28 built on builder10-10.porkrind.org Windowing system distributor 'Apple', version 10.3.1561 Recent messages: inbox: Retrieving message attributes and labels... inbox: Retrieving message atrributes and labels... done inbox: Expunging messages in cache... done inbox: No new mail inbox: Expunging... inbox: Generating summary... 0 inbox: Deleted messages expunged. End of message 89 from Eric Abrahamsen... Mark saved where search started [2 times] End of message 76 from Eric Abrahamsen... Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: VM Summary Minor modes in effect: recentf-mode: t shell-dirtrack-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t editorconfig-mode: t show-smartparens-global-mode: t smartparens-global-mode: t yas-global-mode: t yas-minor-mode: t flx-ido-mode: t ido-ubiquitous-mode: t ido-vertical-mode: t ido-everywhere: t projectile-mode: t global-diff-hl-mode: t diff-auto-refine-mode: t global-anzu-mode: t delete-selection-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t straight-live-modifications-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t global-visual-line-mode: t transient-mark-mode: t Load-path shadows: /Users/hartzell/.emacs.d/straight/build/cl-lib/cl-lib hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib /Users/hartzell/.emacs.d/straight/build/seq/seq hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/seq /Users/hartzell/.emacs.d/straight/build/let-alist/let-alist hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist Features: (shadow emacsbug mail-extr mc-edit-lines multiple-cursors-core rect rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap smartparens-html sgml-mode dom nxml-util nxml-enc xmltok vm-edit switch-window switch-window-mvborder switch-window-asciiart quail avy vm-mark editorconfig-core editorconfig-core-handle editorconfig-fnmatch message dired dired-loaddefs rfc822 mml mml-sec gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader smex recentf tree-widget crux tramp tramp-compat tramp-loaddefs trampver shell pcomplete parse-time format-spec misearch multi-isearch vc-git aggressive-indent company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-semantic company-template company-yasnippet company-bbdb company-quickhelp pos-tip company-quickhelp-autoloads pos-tip-autoloads company pcase editorconfig highlight-numbers parent-mode rainbow-delimiters flycheck json map find-func warnings vm-save browse-url vm-sort vm-digest vm-reply avoid exec-path-from-shell smartparens-config smartparens-markdown smartparens-text smartparens dash yasnippet elec-pair vm-delete utf-7 network-stream puny nsm rmc starttls tls gnutls tapestry bbdb-vm bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone sendmail rfc2047 rfc2045 ietf-drums mail-utils vm-rfaddons vm-undo vm-virtual vm-summary-faces vm-pop utf7 mm-util mail-prsvr vm-imap vm-thread vm-mime vm-toolbar vm-menu vm-window vm-folder vm-crypto vm-summary vm-mouse vm-page vm-motion vm-minibuf vm-message vm-misc vm-macro flx-ido flx ido-completing-read+ memoize cus-edit cus-start cus-load wid-edit minibuf-eldef ido-vertical-mode ido vm-pine u-vm-color vm whitespace-cleanup-mode whitespace flyspell ispell markdown-mode color url-parse auth-source password-cache url-vars noutline outline projectile grep compile comint ansi-color ring ibuf-ext ibuffer ibuffer-loaddefs seq seq-25 sm-terraform terraform-mode-autoloads sm-data yaml-mode-autoloads csv-mode-autoloads sm-mail cl vm-autoloads vm-version vm-vars s bbdb-autoloads sm-dired dired-subtree-autoloads dired-hacks-utils-autoloads sm-coding-hcl hcl-mode-autoloads sm-coding-stats ess-autoloads julia-mode-autoloads sm-coding-sh sm-coding-perl sm-coding-web web-mode-autoloads sass-mode-autoloads haml-mode-autoloads slim-mode-autoloads php-mode-autoloads rx sm-coding-ruby ruby-tools-autoloads inf-ruby-autoloads sm-coding-python yapfify-autoloads sm-coding-js js2-mode-autoloads sm-coding-java java-imports-autoloads ensime-autoloads popup-autoloads sbt-mode-autoloads scala-mode-autoloads sm-coding-go go-guru-autoloads go-mode-autoloads sm-coding-elixir alchemist-autoloads elixir-mode-autoloads sm-coding-cc sm-coding-groovy groovy-mode-autoloads sm-coding-general restclient-autoloads flycheck-autoloads rainbow-delimiters-autoloads highlight-numbers-autoloads parent-mode-autoloads editorconfig-autoloads sm-source-control diff-hl vc-dir ewoc vc vc-dispatcher diff-mode diff-hl-autoloads magit-gh-pulls-autoloads magit-autoloads magit-popup-autoloads git-commit-autoloads with-editor-autoloads ghub-autoloads treepy-autoloads let-alist-autoloads graphql-autoloads async-autoloads gh-autoloads gh-common marshal eieio-compat eieio eieio-core eieio-loaddefs marshal-autoloads ht-autoloads logito-autoloads pcache-autoloads sm-projects projectile-autoloads pkg-info-autoloads epl-autoloads sm-writing markdownfmt-autoloads markdown-mode-autoloads lorem-ipsum-autoloads sm-company company-autoloads sm-navigation avy-autoloads switch-window-autoloads sm-searching engine-mode engine-mode-autoloads anzu thingatpt anzu-autoloads ag-autoloads sm-snippets yasnippet-autoloads sm-appearance rainbow-mode-autoloads wombat-theme doom-themes-autoloads all-the-icons-autoloads base16-theme-autoloads heroku-theme-autoloads sm-ui delight smex-autoloads ido-vertical-mode-autoloads ido-completing-read+-autoloads memoize-autoloads s-autoloads flx-ido-autoloads flx-autoloads sm-editing swiper-autoloads ivy-autoloads boxquote-autoloads writegood-mode-autoloads epa-file epa derived epg epg-config crypt crypt++ crypt+pgp-pub aggressive-indent-autoloads embrace-autoloads smart-comment-autoloads undo-tree-autoloads whitespace-cleanup-mode-autoloads browse-kill-ring-autoloads smartparens-autoloads dash-autoloads expand-region-autoloads multiple-cursors-autoloads crux-autoloads seq-autoloads edmacro kmacro finder-inf delsel sm-path exec-path-from-shell-autoloads no-littering no-littering-autoloads cl-lib-autoloads sm-keybindings sm-personal sm-modules delight-autoloads use-package-chords bind-chord key-chord byte-opt advice use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-chords-autoloads bind-chord-autoloads key-chord-autoloads cl-seq use-package-core use-package-autoloads bind-key-autoloads straight-autoloads info cl-extra help-mode easymenu straight subr-x cl-macs gv bytecomp byte-compile cl-loaddefs cl-lib cconv sm-defaults sm-defuns time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 740405 603704) (symbols 48 49630 1268) (miscs 40 14160 21585) (strings 32 196670 72162) (string-bytes 1 5994489) (vectors 16 137906) (vector-slots 8 3533947 555410) (floats 8 448 2627) (intervals 56 10635 2968) (buffers 992 62)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 15:34:38 2019 Received: (at 36266) by debbugs.gnu.org; 10 Jul 2019 19:34:39 +0000 Received: from localhost ([127.0.0.1]:36651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlIMQ-0005t0-KJ for submit@debbugs.gnu.org; Wed, 10 Jul 2019 15:34:38 -0400 Received: from mail-io1-f48.google.com ([209.85.166.48]:35480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlIMM-0005sg-J8 for 36266@debbugs.gnu.org; Wed, 10 Jul 2019 15:34:35 -0400 Received: by mail-io1-f48.google.com with SMTP id m24so7334965ioo.2 for <36266@debbugs.gnu.org>; Wed, 10 Jul 2019 12:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tTsPz61s6zo5o/v/BQYb2SojRYx9sKkC5fNqyYmC9s8=; b=I/bD5OQSnO5UGZBnbTuSWpQ8rOTMnFagnYx5+ENClXMwmnN/Po+OUqhSe+kMhbeVLu Cl26KlyUDnkEj5O5OC+g9sUu00XF/G0igdsGVNpLQU+GbmgLt0t3Vhe3kQWyugbPdF7l vSh+ABumnJuKhGB3+0Gub8a3VnZXjA4nWrTzxh2gIZs1dUUUmsY1i4pqORMnwwN+4lj5 tYhfXMzq7oIUPRhMtYeUPf0K8uoloDuvVl602Q2jn/4fh9w20BFjgHbm51wRHUh+3gJt BOUPjlKYF7JcV6V0BSYFOp7YAhb/HNVAXF9L4VbriwqIgLcMEltb3EofTRXVnrZLKy82 BVbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=tTsPz61s6zo5o/v/BQYb2SojRYx9sKkC5fNqyYmC9s8=; b=c7bGfRPhHUCL8ZSuLJSbwV63d4K03+V+TecQQYRlzBRgzSb3TAi/BNVduGhTearEyB GgXEL0QGulwdokXe7ZUU5bRc2hbjtmMW2RqDlpF/RbO62Y20ABL4H7OaQXaWjqypPUPf uVPiUBbh8/qDuwHmM6XdPvh9VSVc51kP9iKhz4CUdrmjLNAfIWcM22Sodvx7E4btSIqg 3EWq29kagRkARmvLYZqOHNCGm4j+iT5dhac72cyG3LWKZs0ec8i5QXDXmZ3NKwQ5W1Ab MQG+065BvpiQxUgFgkKcMltj/Wicfy3ZvB+Y3OR5/jzAkAt4R62EdPPAycj716kVdlKx l/Ew== X-Gm-Message-State: APjAAAVlO4rQaB+MYr8CsP8Uv3VVbXBmxwdgoIMGT1REqCJu/dTEQ086 mulgrzQqd/Sx/hoAMoEJQQ29y8M/ X-Google-Smtp-Source: APXvYqwzYMJwGknumXfHDFWlsqjNrkqnRj0tire8kWTm4Vsc9xg10cpnWfuywj/InA45Jn9KCsMV2g== X-Received: by 2002:a6b:b602:: with SMTP id g2mr33828839iof.54.1562787267632; Wed, 10 Jul 2019 12:34:27 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id a8sm2289558ioh.29.2019.07.10.12.34.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Jul 2019 12:34:26 -0700 (PDT) From: Noam Postavsky To: hartzell@alerce.com Subject: Re: bug#36266: 26.1; Problems with sieve-manage References: <23815.51315.484730.915010@alice.local> Date: Wed, 10 Jul 2019 15:34:26 -0400 In-Reply-To: <23815.51315.484730.915010@alice.local> (hartzell@alerce.com's message of "Mon, 17 Jun 2019 10:05:55 -0700") Message-ID: <85pnmhd6pp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 3. If I mess up my authentication info, I'm never given a chance to > re-enter it. When I enter the server name, it goes ahead and > re-uses the bad info and fails. The only way I've been able to > [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: alerce.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.166.48 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.166.48 listed in wl.mailspike.net] 1.3 PDS_NO_HELO_DNS High profile HELO but no A record X-Debbugs-Envelope-To: 36266 Cc: 36266@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) hartzell@alerce.com writes: > 3. If I mess up my authentication info, I'm never given a chance to > re-enter it. When I enter the server name, it goes ahead and > re-uses the bad info and fails. The only way I've been able to > figure out to be reprompted is to restart emacs. Not sure about the rest, but it looks like sieve-sasl-auth is using auth-source, so M-x auth-source-forget-all-cached RET should work. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 14:28:20 2019 Received: (at 36266) by debbugs.gnu.org; 25 Jul 2019 18:28:20 +0000 Received: from localhost ([127.0.0.1]:40430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqiTS-00084A-W4 for submit@debbugs.gnu.org; Thu, 25 Jul 2019 14:28:20 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:51046 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqiTR-00083v-2Z for 36266@debbugs.gnu.org; Thu, 25 Jul 2019 14:28:17 -0400 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 7A7E7FA097; Thu, 25 Jul 2019 18:28:10 +0000 (UTC) From: Eric Abrahamsen To: hartzell@alerce.com Subject: Re: bug#36266: 26.1; Problems with sieve-manage References: <23815.51315.484730.915010@alice.local> Date: Thu, 25 Jul 2019 11:28:08 -0700 In-Reply-To: <23815.51315.484730.915010@alice.local> (hartzell's message of "Mon, 17 Jun 2019 10:05:55 -0700") Message-ID: <8736iuezpj.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36266 Cc: 36266@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain 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. > 2. If I create a script directly on the server (e.g. `ape.sieve`) then > start sieve-manage, I'm offered the chance to edit it. If I move > the highlighting to `ape.sieve` then use `f` to edit it, emacs > becomes unresponsive. I can break out of it with C-g. > > But, I've had it work once or twice. I haven't figure out how to > repeat it. > > If I look in `*sieve-manage-log*`, I can see that emacs has sent > `GETSCRIPT "ape"` and I can see the text of the script in the > response. > > I'm not sure what it's waiting for. I believe this is something to do with an infloop in `accept-process-output' that was previously preventing me from logging in to my sieve servers at all. This is just a guess, because it matches pretty closely behavior that I saw discussed in another bug report here. But this has since been cleared up for me in Emacs master, so maybe if you build a new Emacs it will start working? We hope? Eric --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=fix-sieve-script-name.diff diff --git a/lisp/net/sieve.el b/lisp/net/sieve.el index 3337998bed..4485b8c730 100644 --- a/lisp/net/sieve.el +++ b/lisp/net/sieve.el @@ -210,7 +210,11 @@ sieve-edit-script (set-buffer-modified-p nil) (error "Sieve download failed: %s" err))) (switch-to-buffer (get-buffer-create "template.siv")) - (insert sieve-template)) + (insert sieve-template) + (setq name (read-string "Name for new script: ")) + (when (string-match "\\.sieve\\'" name) + ;; The server will append .sieve to the script name. + (setq name (replace-match "" t t name)))) (sieve-mode) (setq sieve-buffer-script-name name) (goto-char (point-min)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 11 11:12:01 2019 Received: (at 36266) by debbugs.gnu.org; 11 Aug 2019 15:12:01 +0000 Received: from localhost ([127.0.0.1]:45700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwpVp-0007HJ-4D for submit@debbugs.gnu.org; Sun, 11 Aug 2019 11:12:01 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:41474 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwpVn-0007H7-OH for 36266@debbugs.gnu.org; Sun, 11 Aug 2019 11:12:00 -0400 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 A3D3FFA0A7; Sun, 11 Aug 2019 15:11:52 +0000 (UTC) From: Eric Abrahamsen To: hartzell@alerce.com Subject: Re: bug#36266: 26.1; Problems with sieve-manage References: <23815.51315.484730.915010@alice.local> <8736iuezpj.fsf@ericabrahamsen.net> Date: Sun, 11 Aug 2019 08:11:50 -0700 Message-ID: <877e7j68jt.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36266 Cc: 36266@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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... From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 11 12:06:28 2019 Received: (at 36266-done) by debbugs.gnu.org; 11 Aug 2019 16:06:28 +0000 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 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 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) From: Eric Abrahamsen To: 36266-done@debbugs.gnu.org Subject: Re: bug#36266: 26.1; Problems with sieve-manage References: <23815.51315.484730.915010@alice.local> <8736iuezpj.fsf@ericabrahamsen.net> <877e7j68jt.fsf@ericabrahamsen.net> Date: Sun, 11 Aug 2019 09:06:12 -0700 In-Reply-To: <877e7j68jt.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 11 Aug 2019 08:11:50 -0700") Message-ID: <87y2zz4rgr.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36266-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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... From unknown Sat Jun 14 00:08:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 09 Sep 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator