• Emacs and Confluence

    From Loris Bennett@21:1/5 to All on Wed Apr 30 16:02:57 2025
    Hi,

    After successfully avoiding Confluence at work for several years, it
    seems like I might start have to using it soon.

    I can use Edit with Emacs[1] for Firefox to open a buffer containing
    HTML but it is all packed into a single line. I have seen suggestions
    that 'sgml-pretty-print' might help, but running this gives me the error

    Wrong number of arguments: #<subr indent-according-to-mode>, 1

    as do a number of other sgml- commands.

    Has anyone any insight into what might be going on? Alternatively, has
    anyone any other suggestions for dealing with Confluence with Emacs?

    Cheers,

    Loris

    Footnotes:
    [1] https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/

    --
    This signature is currently under constuction.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Loris Bennett@21:1/5 to Loris Bennett on Wed Apr 30 17:04:13 2025
    "Loris Bennett" <loris.bennett@fu-berlin.de> writes:

    Hi,

    After successfully avoiding Confluence at work for several years, it
    seems like I might start have to using it soon.

    I can use Edit with Emacs[1] for Firefox to open a buffer containing
    HTML but it is all packed into a single line. I have seen suggestions
    that 'sgml-pretty-print' might help, but running this gives me the error

    Wrong number of arguments: #<subr indent-according-to-mode>, 1

    as do a number of other sgml- commands.

    Has anyone any insight into what might be going on? Alternatively, has anyone any other suggestions for dealing with Confluence with Emacs?

    Cheers,

    Loris

    Footnotes:
    [1] https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/

    After restarting Emacs, 'sgml-pretty-print' works as expected. However,
    if I then save via 'C-x C-#' and then try to edit again 'indent-according-to-mode' fails again.

    --
    This signature is currently under constuction.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Loris Bennett on Thu May 1 07:41:58 2025
    On Wed, 30 Apr 2025 16:02:57 +0200, Loris Bennett wrote:

    Wrong number of arguments: #<subr indent-according-to-mode>, 1

    As near as I can tell, it’s saying you called indent-according-to-mode
    with 1 argument, and saying that’s wrong.

    Which itself must be wrong, because indent-according-to-mode takes a
    single, optional, argument.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)