From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Customising display-fill-column-indicator-mode Date: Thu, 25 Aug 2022 10:46:43 +0300 Message-ID: <8335dk4vfg.fsf@gnu.org> References: <838rnf84xv.fsf@gnu.org> <874jy2l5tb.fsf@dataswamp.org> <83czcp7w5y.fsf@gnu.org> <83k06w51s0.fsf@gnu.org> <83a67s4ywf.fsf@gnu.org> <834jy04xnk.fsf@gnu.org> <139xXSj_AZ2ugM0vhbc0aDGZgfgmEgqbMxyU2VxjuS0Q-PJOydjl3Oc6dmEhIf732fd9e5IdEwdYymEYYXcnC1Uym9Yr_pJ37uesZxT2_as=@proton.me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11320"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 25 09:48:33 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1oR7bM-0002m2-QE for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Aug 2022 09:48:33 +0200 Original-Received: from localhost ([::1]:51056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oR7bL-0005xP-Ku for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Aug 2022 03:48:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR7ZR-0005ug-K9 for help-gnu-emacs@gnu.org; Thu, 25 Aug 2022 03:46:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR7ZR-0000yi-BQ for help-gnu-emacs@gnu.org; Thu, 25 Aug 2022 03:46:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7pxHqr85r896e9cKHEE2U/HXJAOABD4ws0uuYjo/qVA=; b=mAt/MXg0PW90 lqyX/E7faLppF8wkUqGqChoOOBHryJRykfimwW7ELcR8BRXDGMcWsYkT+ddf9z9rfkka9s9eAmA0l RWEN2o/y8LdpQieSwgSg9FNKWEnnn1uZJCmK6QIvKlzrcchZ/NLH3s10yvUqgUrOW081QqEaezMi5 tlW0WBTqlwKHZJrKYGBBQ377kBft6qmW+0jnPGYdNAjf5Ah1fnuAukRrDnzW6grN8gXoyINz2u8kz 4VKvwTWmiFYa/uu76ZVlUVUWqyUOp7slWi6Zk2GRoteSw+z4EIFbFQKytLcPcF9X6xgEFgpnWbHDH 3mND1BXAKNBgy4HDllTF9A==; Original-Received: from [87.69.77.57] (port=4572 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oR7ZQ-0007wm-En for help-gnu-emacs@gnu.org; Thu, 25 Aug 2022 03:46:32 -0400 In-Reply-To: <139xXSj_AZ2ugM0vhbc0aDGZgfgmEgqbMxyU2VxjuS0Q-PJOydjl3Oc6dmEhIf732fd9e5IdEwdYymEYYXcnC1Uym9Yr_pJ37uesZxT2_as=@proton.me> (message from uzibalqa on Thu, 25 Aug 2022 07:24:47 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139068 Archived-At: > Date: Thu, 25 Aug 2022 07:24:47 +0000 > From: uzibalqa > Cc: help-gnu-emacs@gnu.org > > > This is not the Customize interface. You are obviously not proficient > > enough with Emacs Lisp, so my suggestion was to use "M-x customize-variable" > > instead: > > I am working on functionalities in elisp files. Customization of Emacs for your needs doesn't have to be done in Lisp, and doesn't usually require any programming at all. > Just calling me not proficient with emacs and saying adios is very > strange. There was no adios in what I wrote. I proposed to use a more user-friendly customization interface, which should work around the obstacles you had. There's nothing strange in suggesting easier ways of doing what you want; in some quarters it's considered good help. How to specify characters in Emacs Lisp is very basic. If you want to do this customization in Lisp, I suggest to read the "Character Codes" node in the ELisp manual, it explains those basics. But your attempt to do this in Lisp has more problems than just specifying characters, so my suggestion is still to use the Customize interface, it will get you to the goal faster and with fewer problems. > > Feel free to submit a bug report against that theme: it evidently > > should define distinct colors for fill-column-indicator face. Or you > > could customize that face yourself, using "M-x customize-face". > > It would be a good thing to fix. It is the origin of my problem. Was not > expecting having to delve into the indicator size and character. Just wanted > to test the indicator feature and get to an opinion of it. It is not possible to have defaults that suit everyone. Especially if you load non-default themes.