unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is there any existing solution to move list number backwards, forwards in a list?
@ 2022-10-21  7:56 Jean Louis
  2022-10-21  9:28 ` [SOLVED]: " Jean Louis
  2022-10-21 13:13 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 4+ messages in thread
From: Jean Louis @ 2022-10-21  7:56 UTC (permalink / raw)
  To: Help GNU Emacs

For purposes of changing priorities of objects in a set, I need to
move single item in a list backwards and forwards.

Let us say item is number 7 in following list:

'(1 2 3 4 5 6 7 8 9)

Then I wish to move item number 7 to different number and renumber all
items so that number 7 becomes number 6 and number 6 comes in the
place of number 7.

Situation is more complex, each object ID has its priority like one of
those in the list. So each object ID has to be updated with its
priority when I press single click.

As it looks somehow common to me, maybe somebody knows if something
like that exists as a package.


Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-21 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21  7:56 Is there any existing solution to move list number backwards, forwards in a list? Jean Louis
2022-10-21  9:28 ` [SOLVED]: " Jean Louis
2022-10-21 13:13 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-10-21 15:54   ` Jean Louis

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).