unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Rehders <jan@sheijk.net>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: Adding new package org-menu to nongnu elpa
Date: Sat, 16 Nov 2024 01:20:15 +0900	[thread overview]
Message-ID: <BB24FA6E-B605-4A56-BC4A-910D0F35B6DB@sheijk.net> (raw)
In-Reply-To: <87jzd4ehkd.fsf@posteo.net>

Thanks for the feedback. Applied them. Some comments:

> +    (_ (insert (format "unknown snippet type %s" snippet-id))))) ;or use `pcase-exhaustive'?

Throwing an error here now to keep the info about what snippet type was not found

> +;; You are require'ing yasnippet anyway, so there is no need to mess with autoloads

yasnippet should only be required dynamically if it is selected so the plugin can work without it being installed

> (defun org-menu-toggle-nbspace ()
>   "Will remove non-breaking space before/after point or insert it if none found."
> +  ;;           ^
> +  ;;           Non-breaking or zero-width space?  \u200b is zero-width (used below)

Yes that should have been zero-width space. Fixed

> +;; Can you explain why you are copying code org-colview.el?  It is not
> +;; clear to me why you don't try to call it directly.

This code used to be in lambdas and has since been moved into top-level functions. Calling them now

I’ve also changed the calls to deprecated functions you pointed out. This might break with older Emacs versions but those are supported as a best effort, only so let’s see if this fails for anyone or if compat.el handles this

Thanks!




  reply	other threads:[~2024-11-15 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 13:01 Adding new package org-menu to nongnu elpa Jan Rehders
2024-11-15 13:45 ` Philip Kaludercic
2024-11-15 16:20   ` Jan Rehders [this message]
2024-11-16  0:54     ` Philip Kaludercic
2024-11-16  6:30 ` Adam Porter
2024-11-17 14:02   ` Jan Rehders
2024-11-17  4:38 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BB24FA6E-B605-4A56-BC4A-910D0F35B6DB@sheijk.net \
    --to=jan@sheijk.net \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).