Bug 2233581 - Build Emacs with support for HiDPI and Tree Sitter
Summary: Build Emacs with support for HiDPI and Tree Sitter
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 39
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2239991 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-22 15:46 UTC by Toby Haynes
Modified: 2023-10-21 15:48 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-10-21 15:48:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources emacs pull-request 32 0 None None None 2023-09-10 20:40:48 UTC

Description Toby Haynes 2023-08-22 15:46:37 UTC
Current builds of Emacs 29.1 do not respect the HiDPI settings, resulting in the window being unreadable when used across monitors with substantially different resolutions. 

Emacs 29.1 also brings support for Tree Sitter modes, which provide improved support for many languages in syntactic colouring, navigation, indentation and other areas.

Emacs pre-test has builds demonstrating both these features:

https://copr.fedorainfracloud.org/coprs/bhavin192/emacs-pretest/

It would be useful to see Fedora 39 onward support both these improvements.

Reproducible: Always

Steps to Reproduce:
1.Install regular Fedora Emacs
2.Switch to a monitor with a different HiDPI scaling
3.Observe no scaling is applied
4.Observe that no tree-sitter functions are available (M-x c-ts-mode RET fails)


Expected Results:  
HiDPI and Tree Sitter functionality are available.

Comment 1 Peter Oliver 2023-09-20 19:05:51 UTC
*** Bug 2239818 has been marked as a duplicate of this bug. ***

Comment 2 seb 2023-09-22 11:45:18 UTC
As an every day Emacs user, I'm very interested by this.

Is there anything I can do to help ?

Comment 3 Peter Oliver 2023-09-22 12:08:48 UTC
(In reply to seb from comment #2)
> As an every day Emacs user, I'm very interested by this.
> 
> Is there anything I can do to help ?

You could run the preview build at https://copr.fedorainfracloud.org/coprs/bhavin192/emacs-pretest/ and report any problems you encounter there.

Comment 4 Peter Oliver 2023-09-24 00:12:56 UTC
*** Bug 2239991 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2023-09-24 20:48:45 UTC
FEDORA-2023-0e9d288269 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0e9d288269

Comment 6 Fedora Update System 2023-09-25 01:16:09 UTC
FEDORA-2023-0e9d288269 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0e9d288269`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0e9d288269

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 space88man 2023-09-25 01:56:37 UTC
For bohdi - would it be possible to add a subpackage for --with-pgtk build as well?

The copr emacs-pretest is working for me.

Comment 8 Peter Oliver 2023-09-25 21:50:08 UTC
(In reply to space88man from comment #7)
> would it be possible to add a subpackage for --with-pgtk build
> as well?

I think that's too big a change to surprise people with this close to the Fedora 39 freeze, so let's target that for Fedora 40.  https://src.fedoraproject.org/rpms/emacs/pull-request/33

Comment 9 Björn Lindström 2023-09-26 05:52:42 UTC
(In reply to Peter Oliver from comment #8)
> (In reply to space88man from comment #7)
> > would it be possible to add a subpackage for --with-pgtk build
> > as well?
> 
> I think that's too big a change to surprise people with this close to the
> Fedora 39 freeze, so let's target that for Fedora 40. 
> https://src.fedoraproject.org/rpms/emacs/pull-request/33

An additional -pgtk package wouldn't affect anyone not choosing to install it.

Comment 10 Fedora Update System 2023-09-28 00:20:56 UTC
FEDORA-2023-0e9d288269 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.