Skip to content

Mirror DISPLAY fallback in native spawns#466

Merged
emil-e merged 1 commit into
dakra:mainfrom
emil-e:fix-native-display-env
Jun 24, 2026
Merged

Mirror DISPLAY fallback in native spawns#466
emil-e merged 1 commit into
dakra:mainfrom
emil-e:fix-native-display-env

Conversation

@emil-e

@emil-e emil-e commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • build native process environments in reverse process-environment order so first entries and bare unsets match Emacs semantics
  • synthesize DISPLAY for native spawns when graphical Emacs has a DISPLAY fallback and no explicit DISPLAY entry exists
  • add native regression coverage for DISPLAY fallback, non-graphical frames, bare unsets, and duplicate env precedence

Test

  • make .build/tests/native-ghostel-native-process-test.ok

@emil-e
emil-e merged commit 78e9677 into dakra:main Jun 24, 2026
73 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant