From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Change stars as read-hide-char Date: Mon, 30 Jul 2018 12:19:52 +0200 Message-ID: <87d0v581pz.fsf@gmail.com> References: <87fu01nq46.fsf@yandex.com> <87h8kh884v.fsf@gmail.com> <87bmapnlxs.fsf@yandex.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532945889 18481 195.159.176.226 (30 Jul 2018 10:18:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 10:18:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 30 12:18:05 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fk5FX-0004a7-Eu for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 12:17:59 +0200 Original-Received: from localhost ([::1]:51641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk5He-00030L-4K for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 06:20:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk5HU-0002zx-Pu for emacs-devel@gnu.org; Mon, 30 Jul 2018 06:20:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk5HP-0002Tg-RG for emacs-devel@gnu.org; Mon, 30 Jul 2018 06:20:00 -0400 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:50888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk5HP-0002TF-JG for emacs-devel@gnu.org; Mon, 30 Jul 2018 06:19:55 -0400 Original-Received: by mail-wm0-x234.google.com with SMTP id s12-v6so12537877wmc.0 for ; Mon, 30 Jul 2018 03:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=ugG4MXfPruKdxqTg3qBEcJ524v9h60ljPa6KMSSrqIU=; b=ChumbDCNdrqme4opbcVrqNJbJh551RwnMdRTVitIX+H5zsEGK4xM22HKDDYW+/7kJf /XSNJWo5oKlfrFJxOREhS8axTOOm4tMPv+rWb3gDFm4uhJIVqNYjOwQjxd+cLmUarV1C WpDzjTSpwBTmmkAJXxt2RPijJf07e42htnADWkc6ddhLFED/PaWTSlUU50fcxLS+2yYa cZL5luFqUinNN5jUpIFyrfKRhmpxuQKptmj9E3SDVrY5NE6bHJk2dGUaGzAb3CU8Jzyf MPIFRdC824CNPewSx8hIM47/2Lweesb3IJh4Cga6wOcUTvS44hElrmqzcLNakXC9TQ27 cgOA== 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:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ugG4MXfPruKdxqTg3qBEcJ524v9h60ljPa6KMSSrqIU=; b=W5Rf2TBzuzEc+kVgTV00O3hE7fVLSX3tsOqN7B6HSYRX/CMGl77AdRDNw9ZYpwDU2L IbQQT0eK+9ZemysAmhxwBlMR9GDsWvFl62ynxUyTLPNyPx9OQU4fQr8MqJipFvw6hnan nrjLyEe8Jgd79Q2XqyMn0ZdgrVMTB5Gq3KGXraj2mGDP+Do3wn7aP3CWJJid1ncDWQp5 6AUNbd2Arkcyfkif8aUbQ4KhKcvN94Y8RdFhNNgCxeL6TdG5uw3p29PXwIV8/Wt/m5Ul sVBUqwjyyzecA3rTDWtad8YRHy+4phpCQVDm0v7enSUxVHVwn8QGZDTPAyNBs6FGoL/r V07Q== X-Gm-Message-State: AOUpUlEYWS3tM2ENlvrTyxYpuMN/ppszoKeVCzdeRBr/Q2v22aNCCADu SsB17l//8eShFV+aY06SSG3WI4/A X-Google-Smtp-Source: AAOMgpeFUqZjS5jpYcYFVY8nPMKdJ6/L3t418SbAkjAVp+iHBJXoJCMJN+CNDaubzjoWZ/Cvy3WCdg== X-Received: by 2002:a1c:ec1b:: with SMTP id k27-v6mr14503076wmh.157.1532945993858; Mon, 30 Jul 2018 03:19:53 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id t19-v6sm12478248wmi.42.2018.07.30.03.19.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jul 2018 03:19:52 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87bmapnlxs.fsf@yandex.com> (Colin Baxter's message of "Mon, 30 Jul 2018 09:54:07 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227981 Archived-At: Colin Baxter writes: >>>>>> Robert Pluim writes: > > > Colin Baxter writes: > >> My apologies for posting here, I can't get posting rights at > >> gmane.emacs.help. My `return-confirmation' emails get bounced at > >> that news-group. > >>=20 > >> The development emacs-27 version recently changed the default > >> character seen when entering a password from `.' to `*'. I want > >> to get back to the old default, but > >>=20 > >> (let (read-hide-char) "?.") > >>=20 > > > 'let' specifies a list of variable bindings, and you want the > > character '.', not a string containing '?' and '.', so it=CA=BCs: > > > (let ((read-hide-char ?. )) (message "%c" read-hide-char)) > > Unfortunately > > (let ((read-hide-char ?. )) > (message "%c" read-hide-char)) > > also doesn't work. It gives the error > > Wrong type argument: characterp, "?." > > as soon as I enter a password. The same error occurs if I use > `emacs -q'. Could this be a bug? Hmm. Could you show a full transcript of what you=CA=BCre doing? Don=CA=BCt forget that the let-binding is only valid within the let, not for the entire session. If you want it to valid all the time you'll need to do (setq read-hide-char ?.) Robert