From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Better handling of window margins Date: Mon, 07 Dec 2015 05:32:55 +0200 Message-ID: <83lh97djbs.fsf@gnu.org> References: <87mvttsvsj.fsf@fastmail.fm> <83k2oxj7d6.fsf@gnu.org> <565F2DD3.9020400@gmx.at> <838u5cka88.fsf@gnu.org> <565F3441.1020707@gmx.at> <83610gjabz.fsf@gnu.org> <566086FA.6010603@gmx.at> <83h9jzi99p.fsf@gnu.org> <83d1umiq9u.fsf@gnu.org> <83lh9agtke.fsf@gnu.org> <834mfygihw.fsf@gnu.org> <83vb8dgbo6.fsf@gnu.org> <83si3hfhvy.fsf@gnu.org> <83bna4gajl.fsf@gnu.org> <83twnveewy.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1449459210 3650 80.91.229.3 (7 Dec 2015 03:33:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Dec 2015 03:33:30 +0000 (UTC) Cc: jwiegley@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 07 04:33:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a5mYD-00046P-MO for ged-emacs-devel@m.gmane.org; Mon, 07 Dec 2015 04:33:21 +0100 Original-Received: from localhost ([::1]:52263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5mYC-0004w0-LN for ged-emacs-devel@m.gmane.org; Sun, 06 Dec 2015 22:33:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5mXz-0004vh-Hd for emacs-devel@gnu.org; Sun, 06 Dec 2015 22:33:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5mXw-0005wm-9r for emacs-devel@gnu.org; Sun, 06 Dec 2015 22:33:07 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5mXw-0005wW-23 for emacs-devel@gnu.org; Sun, 06 Dec 2015 22:33:04 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYY00L00WX57S00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 07 Dec 2015 05:33:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYY00KBAXV0Z470@a-mtaout22.012.net.il>; Mon, 07 Dec 2015 05:33:01 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195938 Archived-At: > From: Yuri Khan > Date: Mon, 7 Dec 2015 02:24:26 +0600 > Cc: John Wiegley , Stefan Monnier ,=20 > =09Emacs developers >=20 > On Sun, Dec 6, 2015 at 10:10 PM, Eli Zaretskii wrote= : >=20 > I can name several uses for the margin off the top of my head: >=20 > * Line numbers > * Bookmark markers (name(s) of register(s) which contain locations = in this line) > * Modification bars (which might display one marker on lines modifi= ed > since the last save, another marker on lines which differ from the > staged state, and yet another for differences from last commit) > * Outlining widgets (collapse/expand whichever syntax constructs th= e > current mode defines) > * Breakpoints and current statement (which currently display in the > fringe but the fringe is limited) > * Lines that contain errors found during the last compilation > * Lines that contain matches found during the last grep > * =E2=80=9Cgit blame=E2=80=9D annotations > * Test coverage (or lack thereof) markers Can you name Emacs packages that implement those? (The first item excluded, of course.) > > Now we are talking about going even farther into the fantasy land= , and > > imagine packages that also want to control the order with which t= heir > > stuff is displayed in the margins. Sounds like over-engineering = to > > me, but if someone can show such packages, perhaps it's not fanta= sy > > after all. >=20 > IMO packages shouldn=E2=80=99t want to =E2=80=94 not without knowin= g a great deal > about each other. The user, on the other hand, should be able to. A > simple priority map or a list of modes ordered by priority might be > sufficient. If there are no packages that use the margins except the 2 classes mentioned here, then this user preference is for now theoretical.