all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: rrandresf@gmail.com
Cc: 45140@debbugs.gnu.org, Alan Mackenzie <acm@muc.de>
Subject: bug#45140: 28.0.50; rendering c source on the tty inside virtual console
Date: Mon, 11 Oct 2021 05:14:28 -0700	[thread overview]
Message-ID: <CADwFkmkOkuEObos1Jpe5gVkr6HSq38gO5_6kiktoS_jUVwVsOQ@mail.gmail.com> (raw)
In-Reply-To: <865z5ac28u.fsf@sacsa.i-did-not-set--mail-host-address--so-tickle-me> (rrandresf@gmail.com's message of "Wed, 09 Dec 2020 17:34:25 +0000")

rrandresf@gmail.com writes:

> Hi. Guys.
>
> On emacs 27.1 emacs on the tty renders pretty fine.
>
>
>
> On emacs 28.0.50 the colors has changed (read quality was better on 27)

So I guess this is about highlighting in cc-mode?  Alan, any idea if
anything has changed in this area?

Screenshots are in:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45140

> Part of source code (Just in case)
>
> // tx_ok set here in case of online; TODO: mark the retry case before calling this func
> void edi_tracking_bean_check_ticket_status(edi_tracking_bean_t self) {
>   inv_company_t company_bean;
>   credentials_t credentials;
>   buffer_t text_4_template_xml;
>   buffer_t text_inc_as_json_data_ptr;
>   buffer_t text_out;
>   const char *template_name_4_verbosity;
>   Err error;
>   bool flag;
>
>   flag = true;
>   credentials = (credentials_t)objects_search(self-> app_objects, (int)credentials_free);
>   company_bean = credentials_get_company_bean(credentials);
>
>   // export_company_data_for_edi_ticket_status
>   text_inc_as_json_data_ptr = inv_company_short_info_for_getting_ticket_status_to_json(company_bean, edi_tracking_bean_get_ticket_number(self));
>   if (!text_inc_as_json_data_ptr || (buffer_len(text_inc_as_json_data_ptr) < 1)) {
>     fprintf(stderr, "Err\n edi_tracking_bean_check_ticket_status issue on inv_company_short_info_for_getting_ticket_status_to_json %s\n", (const char*)buffer_ptr(text_inc_as_json_data_ptr));
>     inv_error_bean_set_data_helper(contrErrElectronicInvoicePoliIssue, "edi_tracking_bean_check_ticket_status issue on inv_company_short_info_for_getting_ticket_status_to_json", &error);
>     flag = false;
>   }
>
>   //get_line_content_template
>   template_name_4_verbosity = "electronic_invoice_get_ticket_status";
>   text_out = buffer_alloc (DEFAULT_ARRAY_SIZE);
>   text_4_template_xml = buffer_alloc( DEFAULT_ARRAY_SIZE );
>   contr_print_get_printer_resource_template_from_database(credentials_get_conn(credentials), template_name_4_verbosity, text_4_template_xml, &error);
>   if (buffer_len(text_4_template_xml) < 1) {
>     fprintf(stderr, "Err\n edi_tracking_bean_check_ticket_status issue on contr_print_get_printer_template_from_database %s\n", template_name_4_verbosity);
>     inv_error_bean_set_data_helper(contrSaleErrPrintingIssue, "printer template is not present", &error);
>     flag = false;
>   }
>
>   if (flag) {
>     flag = contr_print_merge((const char*)buffer_ptr(text_inc_as_json_data_ptr), (const char*)buffer_ptr(text_4_template_xml), template_name_4_verbosity, text_out, &error);
>     if (flag) {
>       edi_tracking_bean_set_post_data_for_ticket_status(self, (const char*)buffer_ptr(text_out));
>       flag = _edi_tracking_bean_check_ticket_status_helper(self, credentials, &error); // send
>       if (flag) {
>         // if_ok, {printf log.info} {inspect and analyze xml_result -> <content> <statusCode>} {0127|0|98|99}
>         edi_tracking_bean_set_was_transaction_ok(self);
>       }
>     }
>   }
>
>   buffer_free(text_4_template_xml);
>   buffer_free(text_out);
> }
>
>
> Best Regards
> ps: Ctrl+Alt+F3 {for going to tty3; and then emacsclient -c -t}
>
>
> In GNU Emacs 28.0.50 (build 2, armv7l-unknown-linux-gnueabihf, X toolkit, cairo version 1.17.3, Xaw3d scroll bars)
>  of 2020-12-09 built on sacsa
> Windowing system distributor 'The X.Org Foundation', version 11.0.12009000
> System Description: Arch Linux ARM
>
> Configured using:
>  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
>  --localstatedir=/var --with-x-toolkit=lucid --with-xft --without-gconf
>  --without-gsettings --with-modules
>  '--program-transform-name=s/^ctags$/ctags.emacs/' --without-pop
>  --with-wide-int --with-json=yes 'CFLAGS=-march=armv7-a -mfloat-abi=hard
>  -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt'
>  CPPFLAGS=-D_FORTIFY_SOURCE=2
>  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
>
> Configured features:
> XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GLIB NOTIFY
> INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
> TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
> PDUMPER LCMS2
>
> Important settings:
>   value of $LC_COLLATE: C
>   value of $LANG: en_US.UTF-8
>   locale-coding-system: utf-8-unix
>
> Major mode: Lisp Interaction
>
> Minor modes in effect:
>   tooltip-mode: t
>   global-eldoc-mode: t
>   eldoc-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
> rfc822 mml easymenu mml-sec epa derived epg epg-config gnus-util rmail
> rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
> eieio-loaddefs password-cache json map text-property-search time-date
> subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
> mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
> cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
> iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
> lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
> dnd fontset image regexp-opt fringe tabulated-list replace newcomment
> text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
> rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
> syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
> cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
> korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
> european ethiopic indian cyrillic chinese composite charscript charprop
> case-table epa-hook jka-cmpr-hook help simple abbrev obarray
> cl-preloaded nadvice button loaddefs faces cus-face macroexp files
> window text-properties overlay sha1 md5 base64 format env code-pages
> mule custom widget hashtable-print-readable backquote threads dbusbind
> inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit x
> multi-tty make-network-process emacs)
>
> Memory information:
> ((conses 16 52810 10166)
>  (symbols 48 7064 1)
>  (strings 16 19280 2077)
>  (string-bytes 1 614498)
>  (vectors 16 12353)
>  (vector-slots 8 176032 10074)
>  (floats 8 23 43)
>  (intervals 40 236 6)
>  (buffers 872 10))





  reply	other threads:[~2021-10-11 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 17:34 bug#45140: 28.0.50; rendering c source on the tty inside virtual console rrandresf
2021-10-11 12:14 ` Stefan Kangas [this message]
2021-10-11 15:11 ` Alan Mackenzie
2021-10-15  3:27   ` andrés ramírez
2021-10-24  7:58     ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=CADwFkmkOkuEObos1Jpe5gVkr6HSq38gO5_6kiktoS_jUVwVsOQ@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=45140@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=rrandresf@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.