Hi Jim,

I asked her:

“Can you write emacs lisp AUCTeX. if so give me a short example.”

She gave a reply,  though I don't know what it means:

Yes, I can write Emacs Lisp for AUCTeX. Here’s a short, practical example.
This snippet adds a custom LaTeX command (\R) and enables a small setup hook 
specifically for AUCTeX’s LaTeX mode.

;; Ensure AUCTeX is loaded
(require 'tex)
(require 'latex)

(defun my-auctex-setup ()
  "Custom AUCTeX configuration."
  ;; Add a new LaTeX macro \R -> \mathbb{R}
  (TeX-add-symbols
   '("R" "\\mathbb{R}"))

  ;; Enable automatic parsing and saving
  (setq TeX-auto-save t)
  (setq TeX-parse-self t)

  ;; Enable PDF mode by default
  (setq TeX-PDF-mode t))

;; Attach to LaTeX mode (AUCTeX)
(add-hook 'LaTeX-mode-hook #'my-auctex-setup)



> On 13 Feb 2026, at 10:26 AM, Jim <[email protected]> wrote:
> 
> On Fri, Feb 13, 2026 at 09:46 (+1300), peter.hopcroft--- via ntg-context 
> wrote:
> 
>> Dear group,
> 
>> I met a nine-year-old who claimed she could write Context. I asked her to 
>> try, but her code had errors. I’m a Context beginner, finding it daunting to 
>> learn. Can someone please look at her Context below and advise me if I 
>> should ask her for help with learning Context?
> 
> Peter,
> 
> if she also can write emacs lisp AUCTeX could use her help.  ;-)
> 
>                                Jim
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : [email protected] / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to