unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43811: 28.0.50; artist-mode has an offset when display-line-numbers is on
@ 2020-10-05  2:15 Sean Farley via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-10-07  3:23 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Farley via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-10-05  2:15 UTC (permalink / raw)
  To: 43811

This has been happening for a while (since emacs 26 at least), but I've
forgotten to report it.

If you create a file and enable `artist-mode` and then enable
`display-line-numbers-mode`, you should see that there is an offset of
about four spaces or so when drawing.


In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
 of 2020-10-04 built on laptop
Repository revision: bd371f18b606f00bee4053e89b2f91bcd67325ca
Repository branch: smf/xwidget-content-block
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14.6

Configured using:
 'configure
 --prefix=/Users/sean/projects/emacs/nextstep/Emacs.app/Contents/MacOS
 --enable-locallisppath=/Users/sean/projects/emacs/nextstep/Emacs.app/Contents/MacOS/opt/gccemacs/site-lisp
 --with-ns --with-mailutils --with-cairo --with-modules --with-xml2
 --with-gnutls --with-json --with-rsvg --with-nativecomp --with-xwidgets
 --with-harfbuzz --disable-silent-rules --disable-ns-self-contained
 CFLAGS=-I/usr/local/Cellar/gcc/10.2.0/include
 'LDFLAGS=-L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10
 -I/usr/local/Cellar/gcc/10.2.0/include''

Configured features:
JPEG TIFF GIF PNG RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES NATIVE_COMP THREADS XWIDGETS JSON PDUMPER
LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8

Major mode: Picture:right

Minor modes in effect:
  artist-mode: t
  display-line-numbers-mode: t
  save-place-mode: t
  global-so-long-mode: t
  winner-mode: t
  show-paren-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  global-undo-fu-session-mode: t
  undo-fu-session-mode: t
  undo-fu-mode: t
  global-flycheck-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  editorconfig-mode: t
  org-roam-mode: t
  org-msg-mode: t
  global-magit-file-mode: t
  magit-file-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  which-key-mode: t
  savehist-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  company-box-mode: t
  global-company-mode: t
  company-mode: t
  ivy-posframe-mode: t
  ivy-prescient-mode: t
  prescient-persist-mode: t
  ivy-rich-mode: t
  ivy-mode: t
  volatile-highlights-mode: t
  gcmh-mode: t
  doom-modeline-mode: t
  global-page-break-lines-mode: t
  whole-line-or-region-global-mode: t
  whole-line-or-region-local-mode: t
  global-dot-mode: t
  dot-mode: t
  fancy-narrow-mode: t
  solaire-global-mode: t
  solaire-mode: t
  persp-mode: t
  delete-selection-mode: t
  projectile-mode: t
  ns-auto-titlebar-mode: t
  +popup-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/sean/projects/doom-emacs/.local/straight/build/emacs-websocket/websocket hides /Users/sean/projects/doom-emacs/.local/straight/build/websocket/websocket

Features:
(shadow adaptive-wrap spell-fu ispell emacsbug artist picture reporter
rect amx ffap docker-tramp tramp-cache tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat ls-lisp pyvenv eshell esh-cmd
esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util
mu4e-patch mu4e-alert time ht alert log4e notifications gntp org-mu4e
mu4e mu4e-org mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context
mu4e-draft mu4e-actions ido rfc2368 smtpmail sendmail mu4e-mark
mu4e-proc mu4e-utils doc-view image-mode exif mu4e-lists mu4e-message
flow-fill mu4e-vars mu4e-meta git-gutter-fringe fringe-helper git-gutter
vc-git jka-compr auto-minor-mode disp-table whitespace flycheck-posframe
flycheck-cask flycheck-package package-lint finder finder-inf lisp-mnt
elisp-slime-nav highlight-quoted rainbow-delimiters hl-fill-column
vi-tilde-fringe highlight-numbers parent-mode display-line-numbers
highlight-indent-guides hideshow editorconfig-core
editorconfig-core-handle editorconfig-fnmatch saveplace so-long winner
paren smartparens-config smartparens-text smartparens undo-fu-session
undo-fu flycheck-clj-kondo flycheck ws-butler editorconfig char-fold
nav-flash pulse cursor-sensor counsel-projectile org-agenda magit-todos
pcre2el rxt re-builder hl-todo orgit company-org-roam org-roam
org-roam-graph org-roam-doctor org-roam-db emacsql-sqlite3 emacsql
emacsql-compiler org-roam-dailies org-roam-capture org-capture
org-roam-completion org-roam-buffer org-roam-faces org-roam-macs
org-roam-compat org-id org-refile smartparens-org org-yt org-element
avl-tree org-msg htmlize gnus-msg gnus-art mm-uu mml2015 mm-view
mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo
gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win
gnus nnheader org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-src ob-comint org-pcomplete org-list org-faces
org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval
org-table ol org-keys org-compat org-macs org-loaddefs find-func
cal-menu calendar cal-loaddefs github-review deferred ghub-graphql
treepy gsexp ghub url-http url-gw nsm url-auth url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap let-alist gnutls magit-autoloads magit-submodule magit-obsolete
magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push
magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff
smerge-mode diff diff-mode magit-core magit-autorevert magit-margin
magit-transient magit-process magit-mode lv core-packages package
browse-url url-handlers url-parse url-vars git-commit transient
format-spec magit-git magit-section magit-utils crm log-edit message rmc
puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail
rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mail-utils gmm-utils mailheader pcvs-util add-log with-editor
async-bytecomp async shell pcomplete doom-snippets doom-snippets-lib
yasnippet elisp-mode recentf server objed objed-objects cap-words
superword subword face-remap which-key savehist better-jumper
company-box company-box-doc company-box-icons dash-functional
company-capf company ivy-posframe posframe ivy-prescient prescient etags
fileloop generator ivy-xref all-the-icons-ivy ivy-rich counsel xdg dired
dired-loaddefs autorevert filenotify swiper ivy ivy-faces ivy-overlay
colir color xref project volatile-highlights gcmh hl-line bitwarden
tree-widget wid-edit auth-source eieio eieio-core eieio-loaddefs
password-cache json map dtrt-indent doom-modeline doom-modeline-segments
doom-modeline-env doom-modeline-core shrink-path f all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons memoize dash
page-break-lines whole-line-or-region dot-mode fancy-narrow simple-mpc
simple-mpc-query simple-mpc-current-playlist simple-mpc-utils
simple-mpc-mode simple-mpc-vars s doom-themes-ext-org
doom-themes-ext-treemacs solaire-mode doom-nord-theme doom-themes
doom-themes-base persp-mode delsel projectile grep compile
text-property-search comint ansi-color ring ibuffer-vc ibuf-ext ibuffer
ibuffer-loaddefs thingatpt html2text smartparens-lua ns-auto-titlebar
ibuf-macs easy-mmode derived core-editor core-projects core-ui edmacro
kmacro comp warnings core-keybinds pp general cl-extra help-mode
easymenu seq byte-opt cl-seq use-package-core bytecomp byte-compile
cconv core-modules cl tex-site rx realgud-recursive-autoloads advice
core core-lib cl-macs gv cl-loaddefs cl-lib subr-x tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win
ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer 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 composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads
xwidget-internal dbusbind kqueue cocoa ns lcms2 multi-tty
make-network-process emacs)

Memory information:
((conses 16 770970 130022)
 (symbols 48 69702 52)
 (strings 32 352599 26717)
 (string-bytes 1 8465550)
 (vectors 16 81761)
 (vector-slots 8 1983534 89001)
 (floats 8 1596 1131)
 (intervals 56 6008 288)
 (buffers 992 16))





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-01 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05  2:15 bug#43811: 28.0.50; artist-mode has an offset when display-line-numbers is on Sean Farley via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-07  3:23 ` Lars Ingebrigtsen
2020-10-30 21:14   ` Sean Farley via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-01 12:30     ` Lars Ingebrigtsen

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).