* bug#21386: 25.0.50; Make visual rectangular selection look better
@ 2015-08-31 14:16 Mark Karpov
2015-08-31 17:48 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Mark Karpov @ 2015-08-31 14:16 UTC (permalink / raw)
To: 21386
There is a cool new feature in Emacs 25: visual support for rectangular
selection. However, I would like to set its width to one pixel when it's
“logical” width is zero columns of text. By default it's a bit too
bold. Is it possible?
Also, it would be cool if it didn't “shift” text on the right side of
the selection when its width is zero.
In GNU Emacs 25.0.50.19 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
of 2015-08-31 on arch
Repository revision: 62661fe759dfc826f31b032e49f0f15b40a207d5
Windowing system distributor `The X.Org Foundation', version 11.0.11702000
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: iε
Minor modes in effect:
diff-auto-refine-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
shell-dirtrack-mode: t
rainbow-delimiters-mode: t
hl-todo-mode: t
flycheck-mode: t
flyspell-mode: t
whitespace-mode: t
yas-global-mode: t
yas-minor-mode: t
show-paren-mode: t
minibuffer-electric-default-mode: t
ido-vertical-mode: t
ido-ubiquitous-mode: t
ido-everywhere: t
highlight-line-mode: t
global-auto-revert-mode: t
global-aggressive-indent-mode: t
aggressive-indent-mode: t
display-time-mode: t
delete-selection-mode: t
ace-popup-menu-mode: t
smartparens-global-mode: t
smartparens-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
auto-fill-function: do-auto-fill
transient-mark-mode: t
auto-fill-mode: 1
Recent messages:
Quit
Undo!
Quit [2 times]
3 packages will be deleted:
phoenix-dark-mono-theme, monokai-theme, monochrome-theme, proceed? (y or n) y
Package `phoenix-dark-mono-theme-20130306.1215' deleted.
Package `monokai-theme-20150521.2257' deleted.
Package `monochrome-theme-20140326.350' deleted.
[yas] snippet expanded.
[yas] Snippet 0 exited.
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug sendmail apropos zop-to-char ace-window
vc-git linum magit-blame magit-stash magit-bisect magit-remote
magit-commit magit-sequence magit magit-apply magit-wip magit-log
magit-diff smerge-mode diff-mode magit-core magit-process magit-popup
magit-mode magit-git crm magit-section magit-utils git-commit log-edit
message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh
tramp tramp-compat auth-source eieio eieio-core gnus-util mm-util
help-fns mail-prsvr password-cache tramp-loaddefs trampver shell
pcomplete comint ansi-color format-spec hl-line dired rainbow-delimiters
hl-todo flycheck-haskell haskell-cabal haskell-utils haskell-customize
flycheck find-func rx flyspell ispell whitespace mk-visual
smart-mode-line rich-minority solarized-dark-theme solarized mk-texinfo
mk-tex mk-python mk-prolog mk-org mk-markdown mk-man mk-magit mk-lisp
mk-ibuffer mk-haskell mk-gnus mk-eshell mk-erc mk-elisp mk-dired mk-diff
mk-clojure kill-or-bury-alive mk-calendar mk-c mk-bookmark
mk-minor-modes common-lisp-snippets yasnippet cl whole-line-or-region
paren minibuf-eldef ido-vertical-mode ido-ubiquitous
ido-completing-read+ cl-macs gv ido highlight-line autorevert filenotify
cl-seq aggressive-indent easy-mmode time delsel ace-popup-menu
smartparens-config smartparens byte-opt thingatpt mk-global edmacro
kmacro ace-link avy ring misc server mk-utils subr-x f dash s
ucs-normalize finder-inf tex-site fix-word advice slime-autoloads info
bytecomp byte-compile cl-extra help-mode seq cl-loaddefs pcase cl-lib
cconv package easymenu epg-config time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 395106 99247)
(symbols 48 36952 0)
(miscs 40 138 876)
(strings 32 71740 69217)
(string-bytes 1 2127715)
(vectors 16 54899)
(vector-slots 8 1264383 119336)
(floats 8 374 1070)
(intervals 56 328 485)
(buffers 976 16)
(heap 1024 64124 5145))
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#21386: 25.0.50; Make visual rectangular selection look better
2015-08-31 14:16 bug#21386: 25.0.50; Make visual rectangular selection look better Mark Karpov
@ 2015-08-31 17:48 ` Stefan Monnier
2015-08-31 17:58 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2015-08-31 17:48 UTC (permalink / raw)
To: Mark Karpov; +Cc: 21386
> There is a cool new feature in Emacs 25: visual support for rectangular
> selection. However, I would like to set its width to one pixel when it's
> “logical” width is zero columns of text. By default it's a bit too
> bold. Is it possible?
Shouldn't be too hard to make its width customizable. Look for
"zero-width" in lisp/rect.el to find the relevant piece of code.
> Also, it would be cool if it didn't “shift” text on the right side of
> the selection when its width is zero.
Yes, that would be nice, but as far I know this would require changes in
the display engine, so it's a lot more work.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#21386: 25.0.50; Make visual rectangular selection look better
2015-08-31 17:48 ` Stefan Monnier
@ 2015-08-31 17:58 ` Eli Zaretskii
2015-08-31 18:42 ` Mark Karpov
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2015-08-31 17:58 UTC (permalink / raw)
To: Stefan Monnier; +Cc: markkarpov, 21386
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 31 Aug 2015 13:48:52 -0400
> Cc: 21386@debbugs.gnu.org
>
> > Also, it would be cool if it didn't “shift” text on the right side of
> > the selection when its width is zero.
>
> Yes, that would be nice, but as far I know this would require changes in
> the display engine, so it's a lot more work.
Actually, I think this is the kind of an entry-level project that
could be a good first step for a newbie hacker of the display code.
Would someone please volunteer for the job? Help will be happily
provided if needed.
Come on, people! We cannot have only one old curmudgeon on board able
and willing to do that; what if I'm run over by a bus or something?
What if I already have been?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#21386: 25.0.50; Make visual rectangular selection look better
2015-08-31 17:58 ` Eli Zaretskii
@ 2015-08-31 18:42 ` Mark Karpov
2015-08-31 19:00 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Mark Karpov @ 2015-08-31 18:42 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 21386
Eli Zaretskii <eliz@gnu.org> writes:
> Actually, I think this is the kind of an entry-level project that
> could be a good first step for a newbie hacker of the display code.
> Would someone please volunteer for the job? Help will be happily
> provided if needed.
>
> Come on, people! We cannot have only one old curmudgeon on board able
> and willing to do that; what if I'm run over by a bus or something?
> What if I already have been?
I can try, I actually have good knowledge of Emacs Lisp and C, but I'm:
1. Already working on one free-software project, which I know several
people want to use and they're waiting for its release.
2. I have less and less free time, but most importantly:
3. FSF will need to send me papers to sign. This is a real hurdle:
a. I'm in Russia, and all this paperwork will take a month (or
longer);
b. I will soon move to different city and I don't even know my new
address yet.
So, maybe I could do that but not right now :-(
Anyway, I'll consider contributing to Emacs, it's great piece of
software that I use every day, after all.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#21386: 25.0.50; Make visual rectangular selection look better
2015-08-31 18:42 ` Mark Karpov
@ 2015-08-31 19:00 ` Eli Zaretskii
0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2015-08-31 19:00 UTC (permalink / raw)
To: Mark Karpov; +Cc: 21386
> From: Mark Karpov <markkarpov@openmailbox.org>
> Cc: 21386@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Tue, 01 Sep 2015 00:42:57 +0600
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Actually, I think this is the kind of an entry-level project that
> > could be a good first step for a newbie hacker of the display code.
> > Would someone please volunteer for the job? Help will be happily
> > provided if needed.
> >
> > Come on, people! We cannot have only one old curmudgeon on board able
> > and willing to do that; what if I'm run over by a bus or something?
> > What if I already have been?
>
> I can try, I actually have good knowledge of Emacs Lisp and C
You are actually the best candidate, as you have the right
motivation. Thanks in advance.
> So, maybe I could do that but not right now :-(
There's no particular rush.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-31 19:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31 14:16 bug#21386: 25.0.50; Make visual rectangular selection look better Mark Karpov
2015-08-31 17:48 ` Stefan Monnier
2015-08-31 17:58 ` Eli Zaretskii
2015-08-31 18:42 ` Mark Karpov
2015-08-31 19:00 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.