From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Make fullscreen with margins Date: Sun, 22 Nov 2020 19:02:35 +0300 Message-ID: References: <87sg91h3si.fsf@web.de> <87mtz9h34i.fsf@web.de> <87blfpv3ov.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19956"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: Michael Heerdegen , help-gnu-emacs@gnu.org To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 18:06:09 2020 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 1kgsoS-000540-I7 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 18:06:08 +0100 Original-Received: from localhost ([::1]:53376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgsoQ-0003wy-KS for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 12:06:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgsky-0002ZY-5G for help-gnu-emacs@gnu.org; Sun, 22 Nov 2020 12:02:32 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:59511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgskw-000275-0F for help-gnu-emacs@gnu.org; Sun, 22 Nov 2020 12:02:31 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0013.000000005FBA99A4.000037CA; Sun, 22 Nov 2020 17:02:26 +0000 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:125482 Archived-At: * Christopher Dimech [2020-11-22 18:30]: > I figured that users can use "C-h f" which would give the required > information of the file and package for that call. > > Do people not like that? That is why Emacs is self-documenting. I use it every day. Related to prefix for functions: • You should choose a short word to distinguish your program from other Lisp programs. The names of all global symbols in your program, that is the names of variables, constants, and functions, should begin with that chosen prefix. Separate the prefix from the rest of the name with a hyphen, ‘-’. This practice helps avoid name conflicts, since all global variables in Emacs Lisp share the same name space, and all functions share another name space(1). Use two hyphens to separate prefix and name if the symbol is not meant to be used by other packages. You could simply prefix each function with cd- I have first defined my own functions like string-empty-p but then when I make program into package it starts using built-in function of same name that does not give me same result and all program breaks. There are 26856 functions in my Emacs and many are similar so the prefix helps in having distinct function names. My prefixes are cf- rcd- hyperscope- wrs- For example: wrs-publish-pages -- Thanks, Jean Louis ⎔ λ 🄯 𝍄 𝌡 𝌚