From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Margins example in the Elisp manual. [Was: [Emacs-diffs] master 29d1c72: Introduce new value t for compilation-context-lines to eliminate scrolling] Date: Sun, 08 Sep 2019 20:06:07 +0300 Message-ID: <83o8zu4t1c.fsf@gnu.org> References: <20190825102323.5080620CD5@vcs0.savannah.gnu.org> <20190825190637.GE4724@ACM> <838srhghoc.fsf@gnu.org> <20190826162651.GA4137@ACM> <83ef17gaar.fsf@gnu.org> <20190827200520.GC20676@ACM> <8336hjbzn5.fsf@gnu.org> <20190831105316.GA4822@ACM> <83woet8uh5.fsf@gnu.org> <20190908094155.GA4443@ACM> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11726"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 08 19:06:17 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i70dk-0002wj-LK for ged-emacs-devel@m.gmane.org; Sun, 08 Sep 2019 19:06:16 +0200 Original-Received: from localhost ([::1]:49786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i70dj-0000gG-Hh for ged-emacs-devel@m.gmane.org; Sun, 08 Sep 2019 13:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33718) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i70de-0000gA-Ic for emacs-devel@gnu.org; Sun, 08 Sep 2019 13:06:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i70dd-0005jd-UB; Sun, 08 Sep 2019 13:06:09 -0400 Original-Received: from [176.228.60.248] (port=4541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i70dY-0003nT-Qa; Sun, 08 Sep 2019 13:06:09 -0400 In-reply-to: <20190908094155.GA4443@ACM> (message from Alan Mackenzie on Sun, 8 Sep 2019 09:41:56 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239941 Archived-At: > Date: Sun, 8 Sep 2019 09:41:56 +0000 > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Alan Mackenzie > > > > As above, I think a complete example in the "Display Margins" page would > > > be helpful. I'll get around to formulating this some time (soon?). > > > Thanks. > > OK, here's a first draught of the example, based on the emacs-26 branch. > As always, comments and criticism are welcome. Looks significantly larger than what I had in mind. I thought you were talking about a simpler example that just shows how to display a Lisp string in the margin, not necessarily an entire mode. If you think only such a large example will do, please make it conditioned by @ifnottex (and be sure to do the same with the menu item in @detailmenu, which you omitted in this patch). Thanks.