IRC channel logs

2020-04-25.log

back to list of logs

<msiism>Is it possible in guile (2.0) to load a file inside the repl by saying (load file_name)?
<RhodiumToad>dunno about 2.0 but it works in 2.2
<msiism>Well, ,load worked for me now.
*msiism needs to upgrade his system sometime soon
<srandon111>catonano, how are you?
<catonano>srandon111: not that bad, after all. Thanks for your concern 😊️
<catonano>srandon111: are you on the fediverse ?
<daviid>sneek: later tell tohoyn I pushed a patch that defines and documents two new !changed-mask and !new-window-state accessors - you may pull/make/install and test ... let me know if everything is ok
<sneek>Will do.
***dsmith is now known as gorf`
<gorf`>hey
<sneek>Welcome back gorf`, you have 1 message!
<sneek>gorf`, dsmith-work says: Testing Message
***gorf` is now known as dsmith
<dsmith>ok
<sneek>Welcome back dsmith, you have 2 messages!
<sneek>dsmith, dsmith-work says: This is a test
<sneek>dsmith, dsmith-work says: something
<daviid>sneek: later tell tohoyn wrt to your question about gtk_action_group_add_actions, I see it has been deprecated, here is what the manual says - "gtk_action_group_add_actions has been deprecated since version 3.10 and should not be used in newly-written code." - I guess it is not in the typelib anymore ...
<daviid>
<sneek>Okay.
***catonano_ is now known as catonano
***dsmith-work is now known as dsmith-work1
***dsmith-work1 is now known as dsmith-work
<dsmith-work>?
<srandon111>catonano, yes don't you remember you introduced me to mastodon
<dsmith-work>sneek: botsnack
<sneek>:)
<dsmith-work>sneek: bugs?
<sneek>bugs is Send reports to bug-guile@gnu.org, and see bug reports at https://bugs.gnu.org/guile
<dsmith-work>sneek: seen dsmith?
<sneek>I last saw dsmith in #guile 2 hours ago, saying: ok.
<rlb>Given guile-3.0 in testing, uploaded a make-guile to shift to it -- seems to have built OK on the release architectures.
<rlb>(wrt debian)
<tohoyn>daviid: g-golf pre-inst-env puts the same directory twice in variable GUILE_LOAD_PATH, e.g. "/home/tohoyn/git/g-golf:/home/tohoyn/git/g-golf"
<sneek>Welcome back tohoyn, you have 3 messages!
<sneek>tohoyn, daviid says: wrt the gtkbuilder - <g-menu> related bug, could you prepare a snipset, so I can reproduce locally. tx
<sneek>tohoyn, daviid says: I pushed a patch that defines and documents two new !changed-mask and !new-window-state accessors - you may pull/make/install and test ... let me know if everything is ok
<sneek>tohoyn, daviid says: wrt to your question about gtk_action_group_add_actions, I see it has been deprecated, here is what the manual says - "gtk_action_group_add_actions has been deprecated since version 3.10 and should not be used in newly-written code." - I guess it is not in the typelib anymore ...
<tohoyn>daviid: here is a snipset for the gtkbuilder bug: https://paste.debian.net/1142919/
<tohoyn>daviid: I get the following error message: No variable named <g-menu> in #<directory (g-golf hl-api object) 5643d682a6e0>
<str1ngs>tohoyn: try importing gio. with (gi-import "Gio")
<str1ngs>I think that should resolve the unbound <g-menu>
<str1ngs>tohoyn: anything that has a "g" namespace is probably found in Glib or Gio
<str1ngs>err GLib
<tohoyn>str1ngs: <g-menu> is defined when I do (gi-import "Gio")
<catonano>sneek: tell srandon111 no sorry i don't recognize you ! Who are you on the fediverse ? 😀️
<sneek>srandon111, catonano says: no sorry i don't recognize you ! Who are you on the fediverse ? 😀️
<RhodiumToad>(perhaps you meant "later tell ..."?)
<str1ngs>tohoyn: okay, looks like it's working as intended then.
<catonano>RhodiumToad: oh jeez, of course. Thanks
<catonano>sneek: later tell srandon111 no sorry i don't recognize you ! Who are you on the fediverse ? 😀️
<sneek>Got it.
<tohoyn>daviid: !changed-mask and !new-window-state work fine.
<tohoyn>daviid: procedure gtk-event-get-changed-mask expects a pointer but the events are values of type <gdk-event>.
<chrislck>here's a silly shortcut: instead of (and (not a) (not b) (not c) (not d)), we can use (eq? #f a b c d) instead :-/
***wxie1 is now known as wxie
<dsmith-work>True, but watch out. (eq!) will eval every espression, but (and) might not.
<dsmith-work>sneek: later tell chrislck Watch out. (eq!) will eval every espression, but (and) might not.
<sneek>Okay.
<msiism>Is it possible to customize the Guile REPL prompt? If so, could anyone point me to where this is documented? Thanks.
<guix-vits>msiism: ``<rekado> ,option prompt "NEW-PROMPT"''
<msiism>guix-vits: Thanks.
<guix-vits>,option prompt (lambda () (format #f "io-ho-ho@~a> " (module-name (current-module))))
<guix-vits>rekado told me.
<msiism>Oh, I see.
<guix-vits>the Manual: "if your program is too big to include. please" ;should be comma
<tohoyn>daviid: I get the following error message: WARNING: (g-golf): `bitwise-and' imported from both (rnrs arithmetic bitwise) and (srfi srfi-60)
<tohoyn>warning
<mwette>guix-vitz: Thanks. I sent a patch to civodul.
<mwette>guix-vits: Thanks. I sent a patch to civodul.
<tohoyn>daviid: I'm investigating the attached-to property of GtkWindow (the type of the property is GtkWidget). I obtained the type with procedure g-property-info-get-type. now g-base-info-get-name return #f for the type. the tag of the type is "interface". how can I obtain the name of the type?
<tohoyn>daviid: BTW, are the struct and union types in G-Golf disjoint?
***Intensity4 is now known as Intensity