From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: scratch/tzz/auth-source-reveal-mode 4a7c98d 3/3: Create and document auth-source-reveal-mode Date: Fri, 26 Jun 2020 13:52:26 +0000 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <20200622191653.26453.39420@vcs0.savannah.gnu.org> <20200622191656.2D20920A26@vcs0.savannah.gnu.org> <83a70sts32.fsf@gnu.org> <83v9jgs43x.fsf@gnu.org> <83sgejs25l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68946"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 26 15:53:08 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joomx-000HqI-2m for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Jun 2020 15:53:07 +0200 Original-Received: from localhost ([::1]:57078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1joomw-0001XR-54 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Jun 2020 09:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joomN-00015g-Pb for emacs-devel@gnu.org; Fri, 26 Jun 2020 09:52:31 -0400 Original-Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:45722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1joomM-0006sG-AK for emacs-devel@gnu.org; Fri, 26 Jun 2020 09:52:31 -0400 Original-Received: by mail-qt1-x82f.google.com with SMTP id u12so7454477qth.12 for ; Fri, 26 Jun 2020 06:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to:date :in-reply-to:message-id:user-agent:mime-version; bh=/tHBsdalkpyk8XjktuV0ixuAOGfLVANVNm0lDIAhouE=; b=EgvB9AydB5es0SV4hh+WwGCEJkgpWH+15tpFhgNjTs5Md9emw9+iCIgze/PeaQhufe z98BISHkxVpfIQn41IyLStwIfoZ2Oy+U7GSlbnmhketfIN25GAZRatbPaFGi2fxYFxl5 b1Cs9jVnNUoFkJ2PNKCYfU5xMSCJaCu3VJIFE= 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:organization:references :mail-copies-to:date:in-reply-to:message-id:user-agent:mime-version; bh=/tHBsdalkpyk8XjktuV0ixuAOGfLVANVNm0lDIAhouE=; b=F2CC0A00B6Nc6qKOK6JTFckGSlofNhXtblECIZC6whJpcbMSLuXUXoOjvK07CrNQc9 7+GW5BPlJyleiaoVix24qAyBQYjYzzExJ+SUIUCoT7p0MM7hk9efCjBBSkd8enBZ+wlp WSxET3WC5jBpxNCMuvFoqvb06cG7Lm1+M44ypBOJpXQgWl7ZzUPA34xZPOupW0MkkTLb BOP/jYtPhlB5G9Vu2hyG3e6UgYXShMNUBYsOOHuy1JCX9wpHIiNcz+RyuJQRjJQYMdcX CFJ5aPjdqw0iJ8is6gZ6OTlynwN9PIc1f0Cv7kqLml3IgvSrO7Y4gRp/7nrQflY+adsy TBUw== X-Gm-Message-State: AOAM530dkb1s9uTS4LKND0Sden5SMh47gl62MAyhyBdfINcfkLFTFcf7 lGlsoPHkdhaT7okWtEcSl9SJCVIyeZ0BWQ== X-Google-Smtp-Source: ABdhPJxGgAAEbR6PxiySgFKfGuCeSdAMMpmjsf0B6mpaFirl8Wnb9OhQUsZkyGZhGGsgX2Sz510L/g== X-Received: by 2002:aed:2084:: with SMTP id 4mr2913741qtb.43.1593179548763; Fri, 26 Jun 2020 06:52:28 -0700 (PDT) Original-Received: from flea (c-76-28-41-155.hsd1.ma.comcast.net. [76.28.41.155]) by smtp.gmail.com with ESMTPSA id 195sm8366490qkl.37.2020.06.26.06.52.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jun 2020 06:52:27 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never In-Reply-To: <83sgejs25l.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 25 Jun 2020 16:31:02 +0300") Received-SPF: none client-ip=2607:f8b0:4864:20::82f; envelope-from=tzz@lifelogs.com; helo=mail-qt1-x82f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252539 Archived-At: On Thu, 25 Jun 2020 16:31:02 +0300 Eli Zaretskii wrote: EZ> Perhaps if you describe the difficulties you bumped into in more EZ> detail, we could help you overcome them? AFAICT, you never actually EZ> described the specific problems you had. No, I didn't. I spent several hours investigating and the lack of existing code that did this, plus the complexity of Emacs' display internals, were discouraging. I didn't keep the attempts I made. EZ> prettify-symbols-mode (and static compositions in general) just aren't EZ> the right tool for such jobs; we have much better tools for that, and EZ> they work well for many other features. I'd be very surprised if EZ> those tools couldn't support your use cases. Again, let's consider what I've done as two things: 1) the new minor auth-source-reveal-mode and the prettify-text library/API: that won't change and has no hard dependency on static compositions. 2) the internal implementation of the prettify-text library/API: that's almost exactly like `prettify-symbols-mode', a part of the core. Your major concern there (accessibility and internationalization) is valid but it's equally valid against that existing part of the core. So again, I propose merging as is, and then spending time on a proper reimplementation for both `prettify-symbols-mode' and the prettify-text code. I can work on that reimplementation with guidance from this mailing list. That will help me keep the changes smaller (the branch is getting hard to maintain) and more targeted. Thanks Ted