From: mar@i.am (Marco Munari 16447.64651)
Subject: Re: More enhancements to fringe bitmaps.
Date: Thu, 11 Mar 2004 01:22:47 +0100 [thread overview]
Message-ID: <ywmk71sqlk8.fsf@fast.mm.homeunix.org> (raw)
In-Reply-To: m3ad3tdq0z.fsf@kfs-l.imdomain.dk
dear developers, i use emacs and sometime i touch the code to improve it
by my ideas,
i like best use of topological visual meaning, so
i'm introducing new fringe *active* basic face,
(FRINGE_ACTIVE_FACE_ID as new and complement of FRINGE_FACE_ID)
to permit more hilighting of current selected window, because
mod_line_inactive_face_id and mode_line_face_id highlight the selected
emacs window only in the bottom (of the void space) below the buffer.
modification described above involves following changes:
faces.el: added face fringe-active
dispextern.h: added basic face FRINGE_ACTIVE_FACE_ID
added macro CURRENT_FRINGE_FACE_ID(W): returns the
FRINGE*_FACE_ID depending on window (selected/unselected)
window.c: other-window call Fselect_window only if selected_window is
effectively a new one
it works, but must be done in a better way:
xfaces.c: added lisp object Qfringe_active
surprise because new call to realize_named_face
with Qfringe_active parameter
returns error (so call is introduced and commented)
fringe.c: [confusion] left|right (_user)*1 _fringe_face_id uniformed
to use CURRENT_FRINGE_FACE_ID(w) (depending on selected_window),
was really needed the distinction(?)
actually the hilight of fringe bars works as expected after window split
and every recenter (c-l) (because ``recenter'' do a full frame redraw);
i'd like to redraw the fringe face of selected and unselected windows only
in the right time:
i tkink ``other-window'' function -in my limited emacs knowledge p.o.view-,
should have this effect:
- reddaw selected_window fringe bars (i think seting
?...->redraw_fringe_bitmaps_p=1 is needed, related to selected_window)
- after ``other-window`` determine the new window, prepare to redraw also it.
and no need to redraw others (unchanged) windows.
i think similar redraw heppen when mouse select a different window (area),
are there other possible cases?
the included patch contains even, for personal preference, the
following changes: (i like tiny use of visual space)
- fringe.c: i change some symbol to -my opinion- more appropriate
(smaller and intuitive) bitmaps, and better relatively positioned.
Notice: I create and use this bitmaps since fringe functionality was
introduced in xdisp.c, in that time, it was not extensible.
- xfns.c: modified for tiny scroll bar.
- size reduction of emacs fringe (custom 'fringe-mode half) [my preference]
- etc/TODO: "fringe bitmaps user configurable" DONE by Kim,
(no need to be in TODO,.. or someone plan even more configurable?)
- ibuffer.el desc long lines implies big column values, not "long columns"!
Saluti,
Marco Munari mar.i.am
--
x(t),y(t) = th(3t-34.5)*e^[-(3t-34.5)^2]/2-4.3+e^(-1.8/t^2)/(.8*atg(t-
3)+2)(t-1.8)-.3th(5t-42.5),(1.4e^[-(3t-34.5)^2]+1-sgn[|t-8.5|-.5]*1.5*
|sin(pi*t)|^[2e^(-(t-11.5)^2)+.5+e^(-(.6t-3.3)^2)])/(.5+t)+1 ; 0<t<14
\f
<#part type="text/x-patch" filename="/usr/self/cvs/emacs/mar_emacs_cvs.diff" disposition=inline description="fringe patch to currente emacs cvs">
<#/part>
<#part type="text/x-patch" filename="/usr/self/cvs/emacs/mar_emacs_cvs.patch" disposition=attachment description="cvs/emacs$ patch -p1 mar_emacs_cvs.patch">
<#/part>
next prev parent reply other threads:[~2004-03-11 0:22 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-09 1:01 More enhancements to fringe bitmaps Kim F. Storm
2004-02-09 2:48 ` YAMAMOTO Mitsuharu
2004-02-09 14:54 ` Kim F. Storm
2004-02-09 14:27 ` Jason Rumney
2004-02-09 20:09 ` Harald Maier
2004-02-11 2:54 ` YAMAMOTO Mitsuharu
2004-02-11 11:17 ` Kim F. Storm
2004-02-11 11:28 ` YAMAMOTO Mitsuharu
2004-02-11 14:03 ` Stefan Monnier
2004-02-12 0:58 ` YAMAMOTO Mitsuharu
2004-02-14 0:39 ` Kim F. Storm
2004-02-14 8:08 ` Harald Maier
2004-02-14 15:31 ` YAMAMOTO Mitsuharu
2004-02-15 17:19 ` Kim F. Storm
2004-02-16 10:22 ` YAMAMOTO Mitsuharu
2004-02-16 13:22 ` Kim F. Storm
2004-02-17 3:13 ` YAMAMOTO Mitsuharu
2004-02-17 22:41 ` Kim F. Storm
2004-02-18 2:32 ` YAMAMOTO Mitsuharu
2004-02-18 22:04 ` Kim F. Storm
2004-02-19 4:28 ` YAMAMOTO Mitsuharu
2004-02-19 8:38 ` Jason Rumney
2004-02-19 9:52 ` Kim F. Storm
2004-02-09 8:54 ` Masatake YAMATO
2004-02-09 16:49 ` Kim F. Storm
2004-02-10 1:28 ` Johan Bockgård
2004-02-14 0:58 ` Kim F. Storm
2004-02-09 15:02 ` Matt Hodges
2004-02-14 0:46 ` Kim F. Storm
2004-02-09 19:54 ` Tak Ota
2004-02-09 20:37 ` Tak Ota
2004-03-08 13:48 ` Marco Munari 16447.64651
2004-03-08 23:52 ` Kim F. Storm
2004-03-11 15:27 ` Miles Bader
2004-03-17 13:59 ` Marco Munari
2004-03-11 17:06 ` Marco Munari 16464.32679
2004-03-11 0:22 ` Marco Munari 16447.64651 [this message]
2004-03-17 3:56 ` Miles Bader
2004-03-18 5:08 ` Marc Munari 16473.4929
2004-03-18 13:27 ` Kim F. Storm
2004-03-18 19:05 ` Marco Munari 16473.54072
2004-03-18 23:43 ` Kim F. Storm
2004-03-19 3:44 ` Marco Munari
2004-03-19 14:04 ` Kim F. Storm
2004-03-21 3:27 ` Marco Munari
2004-03-22 10:59 ` Kim F. Storm
2004-03-23 2:27 ` Marco Munari 16479.36044
-- strict thread matches above, loose matches on Subject: below --
2004-02-11 23:41 Nick Roberts
2004-02-12 1:18 ` Miles Bader
2004-02-12 11:55 ` Kim F. Storm
2004-02-12 12:32 ` Miles Bader
2004-02-13 17:34 ` Richard Stallman
2004-02-13 21:53 ` Kim F. Storm
2004-02-12 16:42 ` Nick Roberts
2004-02-12 20:55 ` Miles Bader
2004-02-12 12:07 ` Kim F. Storm
2004-02-12 16:59 ` Nick Roberts
2004-02-12 23:35 ` Kim F. Storm
2004-02-13 19:25 ` Nick Roberts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ywmk71sqlk8.fsf@fast.mm.homeunix.org \
--to=mar@i.am \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).