Skip to main content
edited body; edited tags
Source Link
Drew
  • 80.9k
  • 10
  • 125
  • 265

This is a follow-up on Creating buttons/input fields.

I learned that forms (or rather its elements) in Emacs are called widgets and I am now experimenting on how I can get the best result for what I like to build.

Since some editable-field values shall be used with some (external) commands and evaluated to fill other fields, I wonder if one could limit the ":notify":notify property (or something similar) to only trigger when exiting the field (e.g. when pressing TAB or RET) rather than on every single character change. This is to reduce the amount the attached command is run to once when I am done with the field.

This is a follow-up on Creating buttons/input fields.

I learned that forms (or rather its elements) in Emacs are called widgets and I am now experimenting on how I can get the best result for what I like to build.

Since some editable-field values shall be used with some (external) commands and evaluated to fill other fields, I wonder if one could limit the ":notify" property (or something similar) to only trigger when exiting the field (e.g. when pressing TAB or RET) rather than on every single character change. This is to reduce the amount the attached command is run to once when I am done with the field.

This is a follow-up on Creating buttons/input fields.

I learned that forms (or rather its elements) in Emacs are called widgets and I am now experimenting on how I can get the best result for what I like to build.

Since some editable-field values shall be used with some (external) commands and evaluated to fill other fields, I wonder if one could limit the :notify property (or something similar) to only trigger when exiting the field (e.g. when pressing TAB or RET) rather than on every single character change. This is to reduce the amount the attached command is run to once when I am done with the field.

Source Link
Phoenix
  • 381
  • 1
  • 9

Widgets: How to notify on exiting "editable-field"

This is a follow-up on Creating buttons/input fields.

I learned that forms (or rather its elements) in Emacs are called widgets and I am now experimenting on how I can get the best result for what I like to build.

Since some editable-field values shall be used with some (external) commands and evaluated to fill other fields, I wonder if one could limit the ":notify" property (or something similar) to only trigger when exiting the field (e.g. when pressing TAB or RET) rather than on every single character change. This is to reduce the amount the attached command is run to once when I am done with the field.