From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Umar Ahmad via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text Date: Sun, 10 Oct 2021 01:23:33 +0530 Message-ID: References: Reply-To: Umar Ahmad Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007a0aca05cdf0da57" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35553"; mail-complaints-to="usenet@ciao.gmane.io" To: 51111@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 09 21:55:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZIR9-00092E-1m for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Oct 2021 21:55:15 +0200 Original-Received: from localhost ([::1]:51324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZIR7-0000JV-DD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Oct 2021 15:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZIQw-0000Il-Dm for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 15:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZIQw-0004LD-5Z for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 15:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZIQw-0000ca-2J for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 15:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Umar Ahmad Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Oct 2021 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51111 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16338092492325 (code B ref -1); Sat, 09 Oct 2021 19:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2021 19:54:09 +0000 Original-Received: from localhost ([127.0.0.1]:54173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZIQ3-0000bQ-Vh for submit@debbugs.gnu.org; Sat, 09 Oct 2021 15:54:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZIQ1-0000bE-I9 for submit@debbugs.gnu.org; Sat, 09 Oct 2021 15:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZIQ1-0000Ge-9R for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 15:54:05 -0400 Original-Received: from sonic301-21.consmr.mail.sg3.yahoo.com ([106.10.242.84]:38200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZIPw-0004Iq-EL for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 15:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.in; s=s2048; t=1633809232; bh=elPJ3yA+PsN8k7AHc+J2QxgUF1X1LS6VXs4LH6xbTVo=; h=From:Date:Subject:To:References:From:Subject:Reply-To; b=eLQo27HvHn7C63cCtpNdoYtes5i5hRqz9fO91XQ/82+eco5XTAWV9s1pOgNsAoZVmrqfzCbZhcIaQkqMm6v0WqWkoxdOTXaNJzPYvAoAvfvBbsdun5yWxVJ+J5gn9Q9gLQtqVDKFDC4R1ubfBqCDZifFqh1HIWvuOI+A9A4QIUZVmznXqRO8onCzuEllgOpCw2RGNxi54dnrtbed2+wLfAiRMaaTtbGSFfVkW1a93kB1h+4gMbqJEPls1vuVKn2Pd6Wdk4tNqftjxsB3/64c8wwU4KoX6ANFjTTyokSq7aEwHZmCb93dSCY/ZhmdqIljGtMSeOIoFbcO+k06Tlw7Tw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1633809232; bh=OrdqCQ7lfsLMUwvZdXnvY4ZbaA6PbZAith6ptNxlK1v=; h=X-Sonic-MF:From:Date:Subject:To:From:Subject; b=D9rlJtOUrRuw27l+9I1cAu5qwHM4aWIiNTKAYUJRLTV2cBNLVX5SpaQ4K9T9hLtRfLUBFlnjq4Ay0wpZcblkEnQmWWal9l0Xg2y5PiLDFUgYnPv15ckwCUKjGSwmkrAUGVbfSDzCIXW/C0dbcUEMsvXATGUCOOCPQERKpWftFe1vInXL4NdXCYO4p5WYLcXcFHB3Ay4rIMyN0Lk8v2xHia3dzdk6pUoXJXWEBTaXRYTdJHtHE0V/2tgB5NHkpNC0/AyiKK8UU2M87ZZnHweq7Rn/9kFGTzpJM0B1fecemCQf6M6xz+PMP7JNP8kdrb2snNiPhZBEmWEbifBOizkcxg== X-YMail-OSG: vHsdNUkVM1mVSJEZLrwwP07ijS7Ch7PEOMSwDzUOZkJNwUszd.rLM70axcPQRpT zM05AX8TB62AIRy8hJ6xYuVfjMiRC1SFQK0o9YEcHGyykOUmT0c7f66uYnGkIms8nNlOn_QQdjJ2 k2bDSH0LRHD0X68cYWHWYgggEsKcubUDMuz3mWBRavHZZLHyafv_kdMqtsWlsZxSnu4_WcEGo8IQ 2cZfgIiU2.q49PSfL4o04Fn.tvFG.qq21u2KVv4sjlj1M.5wWsfBLghYawuBWBJrzP_lq2QnCh2h 5edlrlcBSAvnThYBXpKvr8qJq9JNO1v4AxEbYKRGJK_6e7y3O8.gm3I_mwiw_FcdmMJL1wQGBden WB0R0K_WMZNqn9AXZK_tdvkbFMsGf6bceUEaGnFzZoeDYFERWr9OmhyaoT9IedWShImq_TjBJLVw lxh5swNjPaguRnhXeiOkCjgZhOuyHYtUStzAw1Xlvr4n97oqIHtLhTOHfXuISZYyBwy36O_zvY5q UIPa9MFRSJ53GHY3H.s7nSyQtVsx3cYK5aRImT1wB_q_FqHcspU.uBK4B6qDt.9bdqanZqyAGUG7 gKhpPWLhxLajy7dS2WVjG3DMS_go8udgoPfE_PHs9Yn0iifiUXHG.ErK_HTKAJoK0VVVv7YLK9t6 sa9yZdyvdvzYGPgv8RZeZs5sDwgk8uPtUpas8dK8es8IiDpf_tfWapEZZw1ymfmfYwxD8D9Nz_UR ix4SESjxVrZ9l8acYAWI6US2aaHLKrA3PAIJd_n6aJbXyxi5AWh9kFETRtUFbQHNyWreKWeOEOqQ bM9UBFObs_3BnKY72Uy2V8RCVFdk1eeuEzkInXaQA3 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.sg3.yahoo.com with HTTP; Sat, 9 Oct 2021 19:53:52 +0000 Original-Received: by kubenode558.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b85212b1a1fd4cdf883a716951312ade; Sat, 09 Oct 2021 19:53:48 +0000 (UTC) Original-Received: by mail-io1-f48.google.com with SMTP id n7so5996846iod.0 for ; Sat, 09 Oct 2021 12:53:47 -0700 (PDT) X-Gm-Message-State: AOAM530rrfjScurgl+ndKcozK8RSw8Y3deQe10MiTryZdlprasnZpUxd z+XS+rE0zYyiEPS0ocV5Oo5Qlw27g+J1mCBI5sA= X-Google-Smtp-Source: ABdhPJz/Iwqvghv5HkVP0osK1QGgVlaaR5QqrwuQVQz3V46uOgAfza7i1jYk1JF8xCDsZghaNgSMGJ7jPEhEg7WlmBw= X-Received: by 2002:a05:6638:2690:: with SMTP id o16mr12653613jat.96.1633809224827; Sat, 09 Oct 2021 12:53:44 -0700 (PDT) X-Gmail-Original-Message-ID: X-Mailer: WebService/1.1.19116 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=106.10.242.84; envelope-from=ahmad.umar2008@yahoo.in; helo=sonic301-21.consmr.mail.sg3.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216793 Archived-At: --0000000000007a0aca05cdf0da57 Content-Type: text/plain; charset="UTF-8" Mouse clicks on some text in an emacs window does not correctly position the point when the line-height is set to some value and the text is scaled to become larger Steps to reproduce with emacs -Q - Open a new buffer (C-x b *test-buffer RET) - Yank few lines of text from somewhere - Eval (M-:) the following: `(setq-default default-text-properties '(line-height 1.1))` - Scale text to make it larger (C-x C-= = = =) - Click on any line to place the point at that location. - Point is placed few lines further below the click position - Reset the line-height to nil by evaluating: `(setq-default default-text-properties '(line-height nil))` - Click on any line to place point at that location. - Point is placed correctly In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.5.0, NS appkit-2022.50 Version 11.4 (Build 20F71)) of 2021-07-31 built on Umars-MacBook-Pro.local Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.5.2 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml2 --with-gnutls --with-native-compilation --without-dbus --with-imagemagick --with-modules --with-rsvg --with-xwidgets --with-ns --disable-ns-self-contained 'CFLAGS=-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include' 'LDFLAGS=-L/usr/local/lib/gcc/11 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include'' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: flyspell-lazy-mode: t winner-mode: t global-git-commit-mode: t shell-dirtrack-mode: t org-roam-db-autosync-mode: t auto-insert-mode: t org-wild-notifier-mode: t pdf-occur-global-minor-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t dap-auto-configure-mode: t dap-mode: t yas-global-mode: t yas-minor-mode: t ws-butler-mode: t whitespace-mode: t global-gumshoe-mode: t mini-frame-mode: t which-key-mode: t selected-global-mode: t selected-minor-mode: t smartparens-global-mode: t smartparens-mode: t global-undo-tree-mode: t undo-tree-mode: t global-so-long-mode: t all-the-icons-ivy-rich-mode: t ivy-rich-mode: t projectile-mode: t ivy-mode: t save-place-mode: t git-gutter-mode: t global-auto-revert-mode: t eros-mode: t display-line-numbers-mode: t hl-line-mode: t highlight-numbers-mode: t show-paren-mode: t dtrt-indent-mode: t company-box-mode: t company-mode: t flycheck-posframe-mode: t recentf-mode: t flycheck-mode: t global-subword-mode: t subword-mode: t +popup-mode: t doom-modeline-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Load-path shadows: /Users/umar/.config/emacs/elpa/magit-20210916.1754/magit-section-pkg hides /Users/umar/.config/emacs/elpa/magit-section-20210829.1849/magit-section-pkg /Users/umar/.config/emacs/elpa/protobuf-mode-20200619.1742/protobuf-mode hides /usr/local/share/emacs/site-lisp/protobuf/protobuf-mode /Users/umar/.config/emacs/elpa/transient-20210819.2118/transient hides /usr/local/Cellar/emacs-plus@28/28.0.50/share/emacs/28.0.50/lisp/transient Features: (shadow sort emacsbug dap-variables dap-hydra nano-light-theme nano-theme nano-modeline autoload tar-mode arc-mode archive-mode mm-archive tetris gamegrid two-column git-rebase org-gcal persist org-generic-id request-deferred deferred htmlize novice rainbow-mode wgrep gorepl-mode bongo lastfm-submit calc-frac eieio-opt shortdoc flyspell-lazy flyspell forge-list forge-commands forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github ghub-graphql treepy gsexp ghub forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml forge-post forge-repo forge forge-core forge-db closql pcmpl-unix pcmpl-gnu osx-dictionary hippie-exp winner calc-math edraw-color-picker edraw-color edraw-path edraw-dom-svg edraw-math edraw-util debug saveplace-pdf-view pdf-sync pdf-outline pdf-links pdf-history browse-at-remote rectangular-region-mode mc-hide-unmatched-lines-mode mc-mark-more mc-cycle-cursors multiple-cursors-core counsel-jq dumb-jump mail-extr artist picture reporter rect bug-reference magit-extras magit-delta xterm-color magit-bookmark magit-submodule magit-obsolete 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 magit-diff git-commit log-edit message rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode mailabbrev gmm-utils add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode magit-git magit-utils esxml nov esxml-query smerge-mode cl-print doom-one-theme olivetti popup expand-region subword-mode-expansions text-mode-expansions cc-mode-expansions the-org-mode-expansions js-mode-expansions html-mode-expansions css-mode-expansions er-basic-expansions expand-region-core expand-region-custom helpful trace edebug backtrace info-look elisp-refs help-fns radix-tree ivy-xref smart-jump-lisp-mode smart-jump-go-mode smart-jump-elisp-mode smart-jump-cc-mode smart-jump shr-color url-cache zoom repeat +projectile-find-file vterm docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp vterm-module term/xterm xterm shell-pop term shell ehelp format-all language-id inheritenv org-clock calibredb-ivy calibredb-utils calibredb-annotation calibredb-transient calibredb-show calibredb-faces calibredb-search calibredb-core sendmail org-archive org-ql-search org-ql-view transient ov crm org-super-agenda org-ql peg ts anki-editor request mailheader ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox tabify timezone cal-move parse-time hide-mode-line org-roam-protocol org-protocol org-roam-migrate org-roam-mode org-roam-capture org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-capture org-id emacsql-sqlite url-http url-auth mail-parse rfc2231 url-gw emacsql emacsql-compiler magit-section misearch multi-isearch calc-arith cal-dst calc-misc calc-forms calccomp calc-units calc-alg calc-menu counsel-calc autoinsert org-wild-notifier async alert log4e notifications dbus gntp org-timeline ace-window avy diary-lib diary-loaddefs cal-iso org-duration cursor-sensor keepass-mode makefile-executor make-mode conf-mode flycheck-plantuml plantuml-mode sh-script executable eimp mhtml-mode css-mode smie eww url-queue shr kinsoku svg xml mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr smartparens-html sgml-mode diredfl all-the-icons-dired vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs dired-filter dired-hacks-utils dired-x diff-hl-dired diff-hl log-view pcvs-util vc-dir vc flycheck-golangci-lint dap-go go-mode find-file ffap etags fileloop terraform-mode hcl-mode sql lsp-diagnostics lsp-modeline lsp-ui lsp-ui-flycheck lsp-ui-doc xwidget goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util view flycheck-phpstan phpstan dap-php dap-utils php-mode speedbar ezimage dframe php-face php php-project flymake-proc flymake company-dabbrev org-superstar lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd dom lsp-beancount lsp-bash lsp-angular lsp-ada lsp-actionscript json-mode json-reformat json-snatcher smartparens-javascript js org-fancy-priorities org-appear org-pretty-table org-pdftools pdf-annot facemenu pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc pdf-tools pdf-view treemacs-bookmarks bookmark jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif org-noter spell-fu ispell org-indent image-file image-converter org-element avl-tree generator org-habit org-agenda org-refile ol-bibtex bibtex iso8601 smartparens-org ob-plantuml org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs time-date dap-mouse dap-ui lsp-treemacs lsp-treemacs-themes treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture treemacs-logging treemacs-customization treemacs-macros gdb-mi gud bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils cus-edit pp cus-start cus-load lsp-lens dap-mode dap-launch dap-overlays lsp-mode lsp-protocol spinner network-stream puny nsm rmc smartparens-markdown markdown-mode noutline outline inline imenu ht ewoc epg epg-config yasnippet vc-git diff-mode vc-dispatcher ws-butler whitespace rot13 disp-table protobuf-mode smartparens-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get dired-aux tsc-obsolete gumshoe mini-frame which-key selected move-text smartparens-config smartparens-text smartparens undo-tree diff so-long all-the-icons-ivy all-the-icons-ivy-rich ivy-rich counsel-projectile projectile lisp-mnt grep ibuffer-vc ibuf-ext ibuffer ibuffer-loaddefs thingatpt counsel xdg xref project compile text-property-search comint swiper ivy delsel ivy-faces ivy-overlay colir color server saveplace dired dired-loaddefs osx-trash git-gutter-fringe fringe-helper git-gutter autorevert filenotify time desktop frameset eros display-line-numbers hl-line highlight-numbers parent-mode paren dtrt-indent company-box company-box-doc frame-local company-box-icons company-yasnippet company-capf company flycheck-posframe posframe hideshow recentf tree-widget wid-edit init core-misc core-plantuml core-elisp core-org core-php core-markdown core-javascript core-go core-secrets core-ebook core-shell core-tools calc-aent calc-prog calc-ext calc calc-loaddefs calc-macs exec-path-from-shell core-vc core-tramp core-dired core-session core-debug core-project ibuf-macs core-navigation hydra ring lv core-checker flycheck ansi-color find-func core-completion core-editing cap-words superword subword pcase core-window +popup core-ux advice core-ui doom-dashboard derived doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core comp comp-cstr warnings shrink-path f s all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons dash doom-themes-ext-org doom-themes-ext-treemacs doom-one-light-theme solaire-mode face-remap doom-themes doom-themes-base cl-extra help-mode core-util use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf rx edmacro kmacro w3m-load info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl 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 elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 5681850 755118) (symbols 48 140725 0) (strings 32 851093 57331) (string-bytes 1 29748886) (vectors 16 393667) (vector-slots 8 7190110 587972) (floats 8 18681 3660) (intervals 56 571161 8020) (buffers 992 271)) -- Regards, Umar Ahmad --0000000000007a0aca05cdf0da57 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Mouse clicks on some text in an emacs window does not = correctly position
the point when the line-height is set to some value a= nd the text is
scaled to become larger

Steps to reproduce with em= acs -Q
- Open a new buffer (C-x b *test-buffer RET)
- Yank few lines = of text from somewhere
- Eval (M-:) the following:
=C2=A0 `(setq-defa= ult default-text-properties '(line-height 1.1))`
- Scale text to mak= e it larger (C-x C-=3D =3D =3D =3D)
- Click on any line to place the poi= nt at that location.
- Point is placed few lines further below the click= position

- Reset the line-height to nil by evaluating:
=C2=A0 `(= setq-default default-text-properties '(line-height nil))`
- Click on= any line to place point at that location.
- Point is placed correctly


In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.5.0, NS = appkit-2022.50 Version 11.4 (Build 20F71))
=C2=A0of 2021-07-31 built on = Umars-MacBook-Pro.local
Windowing system distributor 'Apple', ve= rsion 10.3.2022
System Description: =C2=A0macOS 11.5.2

Configured= using:
=C2=A0'configure --disable-dependency-tracking --disable-sil= ent-rules
=C2=A0--enable-locallisppath=3D/usr/local/share/emacs/site-lis= p
=C2=A0--infodir=3D/usr/local/Cellar/emacs-plus@28/28.0.50/share/info/e= macs
=C2=A0--prefix=3D/usr/local/Cellar/emacs-plus@28/28.0.50 --with-xml= 2
=C2=A0--with-gnutls --with-native-compilation --without-dbus
=C2=A0= --with-imagemagick --with-modules --with-rsvg --with-xwidgets --with-ns
= =C2=A0--disable-ns-self-contained 'CFLAGS=3D-I/usr/local/opt/gcc/includ= e
=C2=A0-I/usr/local/opt/libgccjit/include -I/usr/local/opt/gmp/include<= br>=C2=A0-I/usr/local/opt/jpeg/include' 'LDFLAGS=3D-L/usr/local/lib= /gcc/11
=C2=A0-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/in= clude
=C2=A0-I/usr/local/opt/gmp/include -I/usr/local/opt/jpeg/include&#= 39;'

Configured features:
ACL GIF GLIB GMP GNUTLS IMAGEMAGICK= JPEG JSON LCMS2 LIBXML2 MODULES
NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PN= G RSVG THREADS TIFF
TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB

Importa= nt settings:
=C2=A0 value of $LC_ALL: en_US.UTF-8
=C2=A0 value of $LA= NG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mod= e: ELisp/d

Minor modes in effect:
=C2=A0 flyspell-lazy-mode: t=C2=A0 winner-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 shell-= dirtrack-mode: t
=C2=A0 org-roam-db-autosync-mode: t
=C2=A0 auto-inse= rt-mode: t
=C2=A0 org-wild-notifier-mode: t
=C2=A0 pdf-occur-global-m= inor-mode: t
=C2=A0 dap-tooltip-mode: t
=C2=A0 dap-ui-many-windows-mo= de: t
=C2=A0 dap-ui-controls-mode: t
=C2=A0 dap-ui-mode: t
=C2=A0 = treemacs-filewatch-mode: t
=C2=A0 treemacs-follow-mode: t
=C2=A0 tree= macs-git-mode: t
=C2=A0 treemacs-fringe-indicator-mode: t
=C2=A0 dap-= auto-configure-mode: t
=C2=A0 dap-mode: t
=C2=A0 yas-global-mode: t=C2=A0 yas-minor-mode: t
=C2=A0 ws-butler-mode: t
=C2=A0 whitespace= -mode: t
=C2=A0 global-gumshoe-mode: t
=C2=A0 mini-frame-mode: t
= =C2=A0 which-key-mode: t
=C2=A0 selected-global-mode: t
=C2=A0 select= ed-minor-mode: t
=C2=A0 smartparens-global-mode: t
=C2=A0 smartparens= -mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo-tree-mode: t
= =C2=A0 global-so-long-mode: t
=C2=A0 all-the-icons-ivy-rich-mode: t
= =C2=A0 ivy-rich-mode: t
=C2=A0 projectile-mode: t
=C2=A0 ivy-mode: t<= br>=C2=A0 save-place-mode: t
=C2=A0 git-gutter-mode: t
=C2=A0 global-= auto-revert-mode: t
=C2=A0 eros-mode: t
=C2=A0 display-line-numbers-m= ode: t
=C2=A0 hl-line-mode: t
=C2=A0 highlight-numbers-mode: t
=C2= =A0 show-paren-mode: t
=C2=A0 dtrt-indent-mode: t
=C2=A0 company-box-= mode: t
=C2=A0 company-mode: t
=C2=A0 flycheck-posframe-mode: t
= =C2=A0 recentf-mode: t
=C2=A0 flycheck-mode: t
=C2=A0 global-subword-= mode: t
=C2=A0 subword-mode: t
=C2=A0 +popup-mode: t
=C2=A0 doom-m= odeline-mode: t
=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t=
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-= indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tab-bar-mode: t
= =C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-enc= ryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 size-indicatio= n-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
= =C2=A0 transient-mark-mode: t
=C2=A0 hs-minor-mode: t

Load-path s= hadows:
/Users/umar/.config/emacs/elpa/magit-20210916.1754/magit-section= -pkg hides /Users/umar/.config/emacs/elpa/magit-section-20210829.1849/magit= -section-pkg
/Users/umar/.config/emacs/elpa/protobuf-mode-20200619.1742/= protobuf-mode hides /usr/local/share/emacs/site-lisp/protobuf/protobuf-mode=
/Users/umar/.config/emacs/elpa/transient-20210819.2118/transient hides = /usr/local/Cellar/emacs-plus@28/28.0.50/share/emacs/28.0.50/lisp/transient<= br>
Features:
(shadow sort emacsbug dap-variables dap-hydra nano-ligh= t-theme
nano-theme nano-modeline autoload tar-mode arc-mode archive-mode=
mm-archive tetris gamegrid two-column git-rebase org-gcal persist
or= g-generic-id request-deferred deferred htmlize novice rainbow-mode
wgrep= gorepl-mode bongo lastfm-submit calc-frac eieio-opt shortdoc
flyspell-l= azy flyspell forge-list forge-commands forge-semi
forge-bitbucket buck f= orge-gogs gogs forge-gitea gtea forge-gitlab glab
forge-github ghub-grap= hql treepy gsexp ghub forge-notify forge-revnote
forge-pullreq forge-iss= ue forge-topic yaml forge-post forge-repo forge
forge-core forge-db clos= ql pcmpl-unix pcmpl-gnu osx-dictionary
hippie-exp winner calc-math edraw= -color-picker edraw-color edraw-path
edraw-dom-svg edraw-math edraw-util= debug saveplace-pdf-view pdf-sync
pdf-outline pdf-links pdf-history bro= wse-at-remote
rectangular-region-mode mc-hide-unmatched-lines-mode mc-ma= rk-more
mc-cycle-cursors multiple-cursors-core counsel-jq dumb-jump mail= -extr
artist picture reporter rect bug-reference magit-extras magit-delt= a
xterm-color magit-bookmark magit-submodule magit-obsolete magit-blame<= br>magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch<= br>magit-clone magit-remote magit-commit magit-sequence magit-notes
magi= t-worktree magit-tag magit-merge magit-branch magit-reset
magit-files ma= git-refs magit-status magit magit-repos magit-apply
magit-wip magit-log = which-func magit-diff git-commit log-edit message
rfc822 mml mml-sec epa= mm-decode mm-bodies mm-encode mailabbrev
gmm-utils add-log magit-core m= agit-autorevert magit-margin
magit-transient magit-process with-editor m= agit-mode magit-git
magit-utils esxml nov esxml-query smerge-mode cl-pri= nt doom-one-theme
olivetti popup expand-region subword-mode-expansionstext-mode-expansions cc-mode-expansions the-org-mode-expansions
js-mod= e-expansions html-mode-expansions css-mode-expansions
er-basic-expansion= s expand-region-core expand-region-custom helpful
trace edebug backtrace= info-look elisp-refs help-fns radix-tree ivy-xref
smart-jump-lisp-mode = smart-jump-go-mode smart-jump-elisp-mode
smart-jump-cc-mode smart-jump s= hr-color url-cache zoom repeat
+projectile-find-file vterm docker-tramp = tramp-cache tramp
tramp-loaddefs trampver tramp-integration files-x tram= p-compat ls-lisp
vterm-module term/xterm xterm shell-pop term shell ehel= p format-all
language-id inheritenv org-clock calibredb-ivy calibredb-ut= ils
calibredb-annotation calibredb-transient calibredb-show calibredb-fa= ces
calibredb-search calibredb-core sendmail org-archive org-ql-searchorg-ql-view transient ov crm org-super-agenda org-ql peg ts anki-editorrequest mailheader ox-odt rng-loc rng-uri rng-parse rng-match rng-dt
r= ng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
= ox-icalendar ox-html table ox-ascii ox-publish ox tabify timezone
cal-mo= ve parse-time hide-mode-line org-roam-protocol org-protocol
org-roam-mig= rate org-roam-mode org-roam-capture org-roam-node
org-roam-db org-roam-u= tils org-roam-compat org-roam org-capture org-id
emacsql-sqlite url-http= url-auth mail-parse rfc2231 url-gw emacsql
emacsql-compiler magit-secti= on misearch multi-isearch calc-arith cal-dst
calc-misc calc-forms calcco= mp calc-units calc-alg calc-menu counsel-calc
autoinsert org-wild-notifi= er async alert log4e notifications dbus gntp
org-timeline ace-window avy= diary-lib diary-loaddefs cal-iso
org-duration cursor-sensor keepass-mod= e makefile-executor make-mode
conf-mode flycheck-plantuml plantuml-mode = sh-script executable eimp
mhtml-mode css-mode smie eww url-queue shr kin= soku svg xml mm-url gnus
nnheader gnus-util rmail rmail-loaddefs rfc2047= rfc2045 ietf-drums
mail-utils mm-util mail-prsvr smartparens-html sgml-= mode diredfl
all-the-icons-dired vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-s= vn vc-cvs
vc-rcs dired-filter dired-hacks-utils dired-x diff-hl-dired di= ff-hl
log-view pcvs-util vc-dir vc flycheck-golangci-lint dap-go go-mode=
find-file ffap etags fileloop terraform-mode hcl-mode sql
lsp-diagno= stics lsp-modeline lsp-ui lsp-ui-flycheck lsp-ui-doc xwidget
goto-addr l= sp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util view
flycheck-phpsta= n phpstan dap-php dap-utils php-mode speedbar ezimage
dframe php-face ph= p php-project flymake-proc flymake company-dabbrev
org-superstar lsp-zig= lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml
lsp-vimscript lsp-vhdl l= sp-vetur lsp-html lsp-verilog lsp-vala lsp-v
lsp-terraform lsp-tex lsp-s= orbet lsp-solargraph lsp-rust lsp-rf lsp-r
lsp-purescript lsp-pylsp lsp-= pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml
lsp-nix lsp-nim lsp-markdown ls= p-lua lsp-kotlin lsp-json lsp-javascript
lsp-haxe lsp-groovy lsp-hack ls= p-graphql lsp-go lsp-completion
lsp-gdscript lsp-fsharp lsp-fortran lsp-= eslint lsp-erlang lsp-elixir
lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-= css lsp-csharp gnutls
lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tok= ens lsp-clangd dom
lsp-beancount lsp-bash lsp-angular lsp-ada lsp-action= script json-mode
json-reformat json-snatcher smartparens-javascript jsorg-fancy-priorities org-appear org-pretty-table org-pdftools pdf-annotfacemenu pdf-occur tablist tablist-filter semantic/wisent/comp
semanti= c/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semant= ic semantic/tag semantic/lex semantic/fw mode-local cedet
pdf-isearch le= t-alist pdf-misc pdf-tools pdf-view treemacs-bookmarks
bookmark jka-comp= r pdf-cache pdf-info tq pdf-util pdf-macs image-mode
exif org-noter spel= l-fu ispell org-indent image-file image-converter
org-element avl-tree g= enerator org-habit org-agenda org-refile ol-bibtex
bibtex iso8601 smartp= arens-org ob-plantuml org ob ob-tangle ob-ref
ob-lob ob-table ob-exp org= -macro org-footnote org-src ob-comint
org-pcomplete pcomplete org-list o= rg-faces org-entities org-version
ob-emacs-lisp ob-core ob-eval org-tabl= e ol org-keys org-compat org-macs
org-loaddefs format-spec cal-menu cale= ndar cal-loaddefs time-date
dap-mouse dap-ui lsp-treemacs lsp-treemacs-t= hemes treemacs
treemacs-header-line treemacs-compatibility treemacs-mode=
treemacs-interface treemacs-extensions treemacs-mouse-interface
tree= macs-tags treemacs-persistence treemacs-filewatch-mode
treemacs-follow-m= ode treemacs-rendering treemacs-async
treemacs-workspaces treemacs-dom t= reemacs-visuals
treemacs-fringe-indicator treemacs-scope pulse treemacs-= faces
treemacs-icons treemacs-themes treemacs-core-utils pfuture
tree= macs-logging treemacs-customization treemacs-macros gdb-mi gud bui
bui-l= ist bui-info bui-entry bui-core bui-history bui-button bui-utils
cus-edi= t pp cus-start cus-load lsp-lens dap-mode dap-launch dap-overlays
lsp-mo= de lsp-protocol spinner network-stream puny nsm rmc
smartparens-markdown= markdown-mode noutline outline inline imenu ht ewoc
epg epg-config yasn= ippet vc-git diff-mode vc-dispatcher ws-butler
whitespace rot13 disp-tab= le protobuf-mode smartparens-c cc-mode cc-fonts
cc-guess cc-menus cc-cmd= s cc-styles cc-align cc-engine cc-vars cc-defs
tree-sitter tree-sitter-l= oad tree-sitter-cli tsc tsc-dyn tsc-dyn-get
dired-aux tsc-obsolete gumsh= oe mini-frame which-key selected move-text
smartparens-config smartparen= s-text smartparens undo-tree diff so-long
all-the-icons-ivy all-the-icon= s-ivy-rich ivy-rich counsel-projectile
projectile lisp-mnt grep ibuffer-= vc ibuf-ext ibuffer ibuffer-loaddefs
thingatpt counsel xdg xref project = compile text-property-search comint
swiper ivy delsel ivy-faces ivy-over= lay colir color server saveplace
dired dired-loaddefs osx-trash git-gutt= er-fringe fringe-helper
git-gutter autorevert filenotify time desktop fr= ameset eros
display-line-numbers hl-line highlight-numbers parent-mode p= aren
dtrt-indent company-box company-box-doc frame-local company-box-ico= ns
company-yasnippet company-capf company flycheck-posframe posframe
= hideshow recentf tree-widget wid-edit init core-misc core-plantuml
core-= elisp core-org core-php core-markdown core-javascript core-go
core-secre= ts core-ebook core-shell core-tools calc-aent calc-prog
calc-ext calc ca= lc-loaddefs calc-macs exec-path-from-shell core-vc
core-tramp core-dired= core-session core-debug core-project ibuf-macs
core-navigation hydra ri= ng lv core-checker flycheck ansi-color find-func
core-completion core-ed= iting cap-words superword subword pcase
core-window +popup core-ux advic= e core-ui doom-dashboard derived
doom-modeline doom-modeline-segments do= om-modeline-env
doom-modeline-core comp comp-cstr warnings shrink-path f= s all-the-icons
all-the-icons-faces data-material data-weathericons dat= a-octicons
data-fileicons data-faicons data-alltheicons dash doom-themes= -ext-org
doom-themes-ext-treemacs doom-one-light-theme solaire-mode face= -remap
doom-themes doom-themes-base cl-extra help-mode core-util use-pac= kage
use-package-ensure use-package-delight use-package-diminish
use-= package-bind-key bind-key easy-mmode use-package-core finder-inf rx
edma= cro kmacro w3m-load info package browse-url url url-proxy
url-privacy ur= l-expand url-methods url-history url-cookie url-domsuf
url-util mailcap = url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio= -loaddefs password-cache json subr-x map
url-vars seq byte-opt gv byteco= mp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc electr= ic uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-wi= n ucs-normalize mule-util
term/common-win tool-bar dnd fontset image reg= exp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode li= sp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch eas= ymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core<= br>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
cyri= llic chinese composite charscript charprop case-table epa-hook
jka-cmpr-= hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs fac= es cus-face macroexp files window text-properties overlay
sha1 md5 base6= 4 format env code-pages mule custom widget
hashtable-print-readable back= quote threads xwidget-internal kqueue cocoa
ns lcms2 multi-tty make-netw= ork-process native-compile emacs)

Memory information:
((conses 16= 5681850 755118)
=C2=A0(symbols 48 140725 0)
=C2=A0(strings 32 851093= 57331)
=C2=A0(string-bytes 1 29748886)
=C2=A0(vectors 16 393667)
= =C2=A0(vector-slots 8 7190110 587972)
=C2=A0(floats 8 18681 3660)
=C2= =A0(intervals 56 571161 8020)
=C2=A0(buffers 992 271))


--
Regards,
Umar Ahmad
--0000000000007a0aca05cdf0da57--